I remember that on one Debian system, I used
apt install package to install a package. It asked for a password afterwards and was more convenient than
sudo apt-get install.
Now I am not sure how I managed to use the first command. Can you help?
You can probably create an alias for that.
Assuming you are using Bash, create a
Then, add a line with the following to the file:
Now close the shell and reopen it again.
Now you can install any new package with the syntax
Open up your bash_profile or bashrc. (Probably in ~/.bashrc or ~/.bash_profile). Now add the line