Overall the key to using linux efficiently is the terminal but if you want TOR working all you have to do is open a file manager, unzip the file, then run the shell file inside. If double clicking on it does nothing but open gedit to edit it then you need to go into the terminal, type cd /path/to/compressed/file/ then ./<filename> to launch it.
Overall the key to using linux efficiently is the terminal but if you want TOR working all you have to do is open a file manager, unzip the file, then run the shell file inside. If double clicking on it does nothing but open gedit to edit it then you need to go into the terminal, type cd /path/to/compressed/file/ then ./<filename> to launch it.
If your application is released also as a .deb file, you can download and open it with "GDebi package installer".
To install gdebi on Debian, Ubuntu or Linux Mint, run the following.
sudo apt-get install gdebi
The gdebi utility has two components: gdebi for a command-line tool, and gdebi-gtk for graphical front-end. You have to right click on the file> Open with> GDebi... Wait for the check, then click on Install package.
BTW, terminal is the quickest way to do anything in Linux (and maybe not only in Linux). E.g., you can quickly install your application via terminal with
sudo dpkg -i DEBIAN_PACKAGE or
sudo gdebi DEBIAN_PACKAGE
$tar -xzf file.tar.gz
$cd file
$./configure
$make all
$make install
Most packages have a configure script which configures the project in an appropriate way to install it directly.
Usually the best approach of achieving a correct installation is to read the readme file in the .tar.gz archieve.
And you are not required to install an executable to actually execute it. If you want to have it somewhere where you can call it on the console by typing the name of the executable, you need to place it in some folder that is in the $PATH. Under Ubuntu the $HOME/bin directory fulfills this requirement, but you could aswell modify/extend the path by extending the file $HOME/.bashrc or $HOME/.profile
If you do have an executable file in .tar.gz file, that you want to "install", then I personally use the following way:
$mv /tmp/folder /home/user/programs
$cd /home/user/bin
$ln -s /home/user/programs/executable <name>
that way you do have a "installed" executable with the name .
If you do need a script to start the program, I usually follow this pattern:
$mv /tmp/folder /home/user/programs
$cd /home/user/bin
$vim <name>
$chmod +x <name>
but you can use any editor instead of vim to generate the start-stript.
But keep in mind that a program placed in $HOME/bin is installed for the user only. If you need to install it for all users, then you should probably place the link to the executable/the start script in /bin/ and place the unpacked folder with the program files in a local directory like /etc/ or /opt/.
In the end I was only able to run applications from the extracted directory of the application tar.gz download.
But I found a useful trick to be able to run the ubuntu launcher by creating a .desktop file in the home/.local/share/applications directory. Below are two examples:
example 1: home/.local/share/applications/navicat110_mysql_en.desktop
[Desktop Entry]
Version=11
Type=Application
Name=Navicat
Exec=bash /home/ross/bin/navicat110_mysql_en/start_navicat %f
Icon=/home/ross/bin/navicat110_mysql_en/navicat.png
Comment=Develop with pleasure!
Categories=Development;IDE;
Terminal=false
StartupNotify=true
example 2: home/.local/share/applications/jetbrains-phpstorm.desktop
[Desktop Entry]
Version=1.0
Type=Application
Name=PhpStorm
Icon=/home/ross/bin/PhpStorm-133.982/bin/webide.png
Exec="/home/ross/bin/PhpStorm-133.982/bin/phpstorm.sh" %f
Comment=Develop with pleasure!
Categories=Development;IDE;
Terminal=false
StartupWMClass=jetbrains-phpstorm
Just be sure to change the path to your own path for the downloaded & extracted application.
Is there a short guide how to install programs on ubuntu?
Newbie with a stupid question, is it better to install software using command line, download it, or install it from app store?
apt - How do I install downloaded software using package managers? (Ubuntu Linux) - Unix & Linux Stack Exchange
Can't find 'Software Install' under Open With context (Ubuntu 20.04)
Videos
Is there a short guide to how to install programs on ubuntu?
Thank You.
This is my second time reinstalling Ubuntu after I messed up my earlier installation. I couldn't get some things working properly like run vscode live server. It would crash my browser every time I run it. I couldn't get youtube-dl to work properly, and few other stuff.
Now I just installed a fresh copy of Ubuntu and will be doing things carefully.
It looks like you're using ubuntu. Are you sure you can't install tomcat and these other programs using apt? https://stackoverflow.com/questions/17360868/setting-up-tomcat-in-ubuntu
apt-cache search openjdk
apt-cache search tomcat7
apt-cache search maven
All return reasonable results for me. If you want to run the latest and greatest versions (or just really control versioning and not have a package manager screw you which can happen), then manually installing is fine. Each of these programs has copious online documentation for how to install - just google "install jdk linux", "install tomcat linux" etc. The short summary is that java apps don't usually have much of an install need - just untar them into /opt using:
$cd /opt
$tar zxvf ~/Downloads/apache-tomcat-blah.tar.gz
and then start following the configuration guides. Start with the jdk first.
Looking at the image you attached, I can say you are using Ubuntu.
Ubuntu provides different package managers like Synaptic package manager if you are a GUIna pig, apt package manager which is a command line tool.
I do really wonder for your comment,
I recently learned that linux does not have any installation wizards.
So, as you are trying to install jdk tomcat and maven, Either find the package in synaptic package manager or use the apt to search and install the package.Synaptic is a GUI tool and it is straight forward to install any package.
For apt you can use the below commands,
Update your repository,
sudo apt-get updateSearch for the package in repository.
apt-cache search maven(or any other package you want to install)Once you find the right package in repo, Install it using,
sudo apt-get install package-name.
If you are trying to install from the third party packages from third party repositories which is not warrantied by Ubuntu or any other distribution which you are using, then you should install those packages with your own risk. There might be chances of breaking your packages due to unhandled dependencies.
In that case add the third party repositories to /etc/apt/sources.list and follow the above mentioned steps.
UPDATE
FWIW, If you are trying to install jdk then just install the default-jdk which is provided in your distribution itself.
Hi,
As the title says, I can't find Software Install under Open With section. I need to install some DEB package. I clearly remember, it was there and I even opened and installed DEB packages with it.
But from today, I can't find it anywhere, so I can't install DEB packs. There is of course 'Snap Store', but it says it can't open DEB packs. Can someone tell me how to get the 'Software Install' option back? I don't know which package it falls under.
Hi there! :)
I am a new linux user and i started with ubuntu and mint and I don't know how to install programs from the packages...Ok i know some programs just double click it and it will run i software store but I want to install it from the terminal
Synaptic will cover 95% of things most average everyday users will need to install.
Using apt-get from the shell will cover you if you need to install a whole bunch of packages easily and quickly, but synaptic and apt cover the same repositories, so it's the same stuff to install just harder to find.
Doing it "old school" is usually only required for smaller apps and things you need to compile yourself from source. This is the other 5%.
In addition to
1) Synaptic Package Manger 2) apt-get on the command line 3) tar.gz files (old school)
there is 4) Applications - Add/Remove Programs option
which should be the first in your list, in my opinion :-)