I just installed Centos on and installed apt-get on it.
what are the risk factor of using apt-get on centos..
I do know that apt-get is for ubuntu, debian.. but since I come from ubuntu background i felt like 'why not'
anyone can clarify if it is usable or just a bad idea and why?
I don't see any risk if "apt" is supported by CentOS. But anyway it's better to use native package manager.
Related
The RPM given on the official website does not have the pgadmin4 package for Fedora 30.
Is there a known workaround?
Edit: Relevant packages are now included in the RPM, so there is no issue anymore.
You can use the link that points to the x64 package:
sudo dnf -y install https://download.postgresql.org/pub/repos/yum/reporpms/F-30-x86_64/pgdg-fedora-repo-latest.noarch.rpm
then you will be able to dnf search and install pgadmin4 normally.
Apparently there is a mistake in the docs for that distro.
You'd have to wait until Devrim gets around to rolling RPMs for Fedora 30.
The alternative is to build the software from source.
EDIT: In the meantime, packages for Fedora 30 are available.
I want to install tesseract-ocr 3.04 on one of my Ubuntu/Lubuntu 18.04 test setups (which is running fine on our lubuntu16.04 test setups). If I simply install tesseract-ocr via 'sudo apt install tesseract-ocr' etc. it will install tesseract 4.0.0 beta.
With this I am seeing a lot of weird behavior and would like to run tesseract-ocr 3.04 with the same traineddata etc as it is running fine on our older test setups.
How can I force to install an older version of tesseract-ocr.
Thanks, Martin
Download Tesseract 3.04 from https://launchpad.net/ubuntu/+source/tesseract/3.04.01-6.
Then to install it in $HOME/local:
./autogen.sh
./configure --prefix=$HOME/local/
make
make install
I realise this post is quite old, so if you have found a better way please share your method.
I need to install pljava for postgresql 9.3 on Ubuntu 14.04. I installed the 64bit version of postgre using the apt-get packet manager of Ubuntu, and I tried installing pljava in the same way
sudo apt-get install postgresql-9.3-pljava-gcj
but it gives me the "unmet dependencies error"
The following packages have unmet dependencies:
postgresql-9.3-pljava-gcj:i386 : Depends: postgresql-9.3:i386 but it is not going to be installed
Apparently, there's no version of pljava for 64bit architectures of pljava for postgresql 9.3. Also searching the Web led me to this conclusion (https://launchpad.net/ubuntu/+source/postgresql-pljava/1.4.3-3 - see the "not build" versions of the packet).
Now, my problem is that I have to use a 64bit version of postgresql-9.3, and I definitely need pljava to embed some "java triggering" inside the db. Does anyone know any solution to this issue? Can I use pljava-9.1 with postgresql-9.3? Anything else?
Thanks a lot
There is no maintained PL/JAVA package for Ubuntu anymore. The package you mentioned is using a too old version of PL/JAVA, depending on gcj. It is highly recommended to use PL/JAVA version 1.5.0, using a recent Oracle or OpenJDK java version.
The sad news is you have to build it yourself. For instructions, see
https://tada.github.io/pljava/build/build.html (building)
https://tada.github.io/pljava/install/install.html (installing)
At the time this question was asked, it was true that there were not maintained PL/Java packages for Ubuntu.
Just to update the story, more recently there are. They can be found in the PGDG apt repository.
Hi i am trying to install python imaging library in a virtual environment in linuxmint 17.1.
I tried this link.
Decoder JPEG not available error when following Django photo app tutorial
I also posted this question but no answer till now.
https://stackoverflow.com/questions/31473765/install-libjpeg-dev-in-virtualenv-ubuntu
EDIT:
I am installing Shoop in my linuxmint system in a virtualenv. This program requires both Pillow and PIL to be installed in a virtualenv. I installed Pillow and PIL in virtual environment but it also requires following libraries to be installed in virtualenv.
libjpeg-dev
libpng12-dev
zlib1g-dev
I installed these libraries via apt-get.
sudo apt-get install libjpeg-dev zlib1g-dev libpng12-dev
Since apt-get installs packages system wide. How to use them in my virtualenv.
Also if there is a way to separately install them in virtualenv.
I'd say no.
Everything you install through apt-get is OS related.
As Audrius Kažukauskas commented and Virtualenv documentation docs states:
virtualenv is a tool to create isolated Python environments.
The basic problem being addressed is one of dependencies and versions,
and indirectly permissions.
I have a Bitnami Moodle stack I use for local development. When I upgraded the Moodle version to 2.8.1, which is the current production version, the Moodle install page says I need to upgrade from MySQL 5.5.21 to 5.5.31.
Is there a way to simply upgrade MySQL within the existing Bitnami Moodle Stack?
Bitnami developer here,
Bitnami stacks contain everything you need to run the application. That way, all of the Bitnami-packaged applications you want to run will share a single instance of Apache, MySQL, PHP, etc which will save space and improve performance.
The best way to upgrade all Moodle Stack components (PHP, MySQL, Apache…) it's explained in the link below:
https://wiki.bitnami.com/Applications/BitNami_Moodle#How_to_migrate_your_Moodle_installation.3f
It is strongly recommended that you create a backup before starting the update process. If you have important data, it is advisable that you create and try to restore a backup to ensure that everything works properly.
I hope it helps
I haven't used bitnami but just been reading the FAQs, it looks like you can use ssh to open a terminal
https://wiki.bitnami.com/BitNami_Cloud_Hosting/Servers/SSH
Assuming its Ubuntu, you could try updating Ubuntu first to see if it updates mysql.
ssh username#yourbitnami.com
sudo apt-get update
sudo apt-get upgrade
If that doesn't work then you can use the mysql 5.5 ppa from Ondrej to upgade to the latest version of mysql 5.5 - something like this:
ssh username#yourbitnami.com
sudo add-apt-repository ppa:ondrej/mysql-5.5
sudo apt-get update
sudo apt-get install mysql-server