Answer the question
In order to leave comments, you need to log in
How to use apt-get as alias in ubuntu 16.04?
Ubuntu 16.04 introduced a tool called apt (apt-get replacement).
How can I make it so that when I type any command using apt-get
, (for example apt-get update
) apt ( ) will actually work apt update
?
I tried to create an alias: echo "alias apt-get='apt'" > ~/.bash_aliases
But on startup it apt-get update
worked apt-get
instead ofapt
Answer the question
In order to leave comments, you need to log in
Check Availability
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
. ~/.bashrc
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question