I can't install Java in elementary. I tried to install it in my computer:
$ sudo add/apt/repository ppa>webupd8team/java
bash: webupd8team/java: No such file or directory
What am I doing wrong?
elementary OS Stack Exchange is a question and answer site for developers and users of elementary OS and applications. It only takes a minute to sign up.
Sign up to join this communityI can't install Java in elementary. I tried to install it in my computer:
$ sudo add/apt/repository ppa>webupd8team/java
bash: webupd8team/java: No such file or directory
What am I doing wrong?
Add the PPA by doing the following:
sudo apt install software-properties-common
sudo add-apt-repository ppa:webupd8team/java
sudo apt update
This (1) lets you install PPAs on elementary Loki, (2) adds the PPA you want, and (3) update your records. Then you can install the package you were originally after.