What ways are there to install software in Ubuntu?
There are many different ways software is installed on Linux. The preferred method is using the official repositories using apt
or the Software Center. However, some programs are not available there, so you can add other repositories using PPAs. This will add "unofficial" packages to the repositories used by APT and the Software Center.
Some software is not available in PPAs either, but there are installers available, like on Windows. These installers can be shell scripts, .RUN
files or other things. You can install these programs by running the installer just like you would do on Windows.
Some software is available as "ready to run" archives. You just extract it and run it. No installation. For those programs, you have to provide a .desktop
file yourself, and you have to put them in a "safe" folder.
How do I install this program?
This program seems to be of the last type. I would recommend to put it in its own subfolder in the /opt
folder. /opt/PhpStorm-139.732
Via graphical interface
One of the easiest ways to do this is using nautilus (the file manager), but you need root privileges to change things in the /opt/
folder. You can start nautilus as root by running sudo -H nautilus
in a terminal. BE CAREFUL! You can do dangerous things running nautilus as root.
Via command line
Move the folder from downloads to /opt/
sudo mv /home/shairyar/Downloads/PhpStorm-139.732/ /opt/PhpStorm-139.732/
After that, you can check if it is moved by running ls
on the directory. This lists the contents of the directory
ls /opt/PhpStorm-139.732/
Create a launcher icon
You can find more information on how to create a launcher icon here: How can I create launcher icon for PhpStorm?