This question already has an answer here:
Currently i am using an instance on Google cloud platform and in Ubuntu 16.04 I am able to install p7zip to extract
.7z files, but on Ubuntu 18.04 I get the following error:
Package p7zip-full is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'p7zip-full' has no installation candidate
Bearing in mind that I do not have a GUI, do I have any other option to extract
.7z archives in Ubuntu 18.04?
I tried to install it using this command
sudo apt-get install p7zip-full
But it does not work for 18.04.