SAmsonIsThaBest
New Member
Hey, so basically I am trying to run
echo "deb http://ppa.launchpad.net/linuxuprising/java/ubuntu focal main" | tee /etc/apt/sources.list.d/linuxuprising-java.list
but since I cant remember my root password and this is a remote server I can only use sudo. My account has full root properties but still I get the error: Permission denied. So far I've tried:
running
sudo echo "deb http://ppa.launchpad.net/linuxuprising/java/ubuntu focal main" | tee /etc/apt/sources.list.d/linuxuprising-java.list
running
sudo echo "deb http://ppa.launchpad.net/linuxuprising/java/ubuntu focal main" | sudo tee /etc/apt/sources.list.d/linuxuprising-java.list
running
sudo echo "deb http://ppa.launchpad.net/linuxuprising/java/ubuntu focal main"
and then
sudo tee /etc/apt/sources.list.d/linuxuprising-java.list
this is a big problem for me, pls help!
echo "deb http://ppa.launchpad.net/linuxuprising/java/ubuntu focal main" | tee /etc/apt/sources.list.d/linuxuprising-java.list
but since I cant remember my root password and this is a remote server I can only use sudo. My account has full root properties but still I get the error: Permission denied. So far I've tried:
running
sudo echo "deb http://ppa.launchpad.net/linuxuprising/java/ubuntu focal main" | tee /etc/apt/sources.list.d/linuxuprising-java.list
running
sudo echo "deb http://ppa.launchpad.net/linuxuprising/java/ubuntu focal main" | sudo tee /etc/apt/sources.list.d/linuxuprising-java.list
running
sudo echo "deb http://ppa.launchpad.net/linuxuprising/java/ubuntu focal main"
and then
sudo tee /etc/apt/sources.list.d/linuxuprising-java.list
this is a big problem for me, pls help!