I am trying to install shutter as I want to take screenshots while learning in parrot.
A web search said shutter is the best so I want to try this.
step 1 sudo apt-get install shutter
response - Package 'shutter' has no installation candidate
Add the PPA
sudo add-apt-repository ppa:linuxuprising/shutter
Update the repo
suo apt-get update
Reform Installation
sudo apt-get install shutter
Related
Today, I want to install the mailspring by snap. but my terminal gives me this:
How can I fix it.
My Ubuntu system below.
Just simply run
apt update
then run
apt list --upgradable
finally, run the below command to install snapd
sudo apt install snapd
I hope this will help*
did you do apt update before trying to install the package?
i tried
apt-get install unity-tweak-tool-daily
E : unable locate a package
and im tried gnome tweak tool
gnome
add repo before apt-get install
sudo add-apt-repository ppa:freyja-dev/unity-tweak-tool-daily
sudo apt-get update && sudo apt-get install unity-tweak-tool
reference http://www.omgubuntu.co.uk/2013/03/unity-tweak-tool-is-now-available-in-raring
I'm new in Linux and I would like to unistall gcc 4.9 which is installed in my distro Linux Mint LMDE 2 and install gcc 5. I tried to used the following command:
sudo apt-get install gcc5
but it didn't worked. Can someone please help me with this? Please provide all steps to follow. Thank you in advance
Try this.
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install gcc-5 g++-5
apt-get autoremove
This should work in Linux Mint if I'm not mistaken, as its still using the same respository.
sudo apt-get respository ppa:ubntu-toolchain-r/test
This will install you the correct respositories you need for the computer. Some packages are not automatically known to the computer so you need to install the respositories so the computer can install it.
sudo apt-get update
This will update your computer and all packages and the respoitory, this wil ensure it will now work
sudo apt-get install gcc-5 g++-5
This will install the gcc-5 version you wanted.
sudo apt-get autoremove
When you install certain stuff, some things are no longer needed. Maybe a required package from a previous version that you no longer need, do this to conserve space.
I'm trying to use
$ sudo add-apt-repository ppa:chris-lea/node.js
$ sudo apt-get update
to install and update an npm and nodejs
Most of the references to this repository I've found are out of date from 2011-2013
I get a 404 error during $ sudo apt-get update to the link
http://ppa.launchpad.net/chris-lea/node.js/ubuntu/dists/wheezy/main/binary-armhf/Packages 404 Not found
Is there a more updated version of this?
https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager has instructions for a repository which supersedes the old PPA. (For me, this is the top Google hit for node-js ppa.)
curl -sL https://deb.nodesource.com/setup | sudo bash -
sudo apt-get install -y nodejs
(I don't particularly recommend running stuff you download without auditing it first, nor have I tried these instructions.)
The nodejs and npm package are included in the wheezy/main repository.
In order to install npm and nodejs on raspbian you should include in /etc/apt/sources.list
deb http://mirrordirector.raspbian.org/raspbian/ wheezy main
Next you should be able to install nodejs and npm using :
sudo apt-get update
sudo apt-get install npm nodejs
I had the same issue, I could work around it changing the source to the previous Ubuntu version.
So, from this:
http://ppa.launchpad.net/chris-lea/node.js/ubuntu vivid main
To this:
http://ppa.launchpad.net/chris-lea/node.js/ubuntu utopic main
My linux system used to install a old version node.js environment 0.8.14, now updated it to latest node.js through this
sudo apt-get install python-software-properties python g++ make
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs
when update is done and i rebooted the linux system, then I found it is still the old version node.js.
I'm willing to bet you installed the previous version through apt-get without first adding Chris Lea's PPA. The standard Ubuntu repositories have an old version of node.
You'll need to uninstall this old version before you can get the new one:
sudo apt-get --purge remove nodejs # Remove the package itself
sudo apt-get autoremove # Remove any unneeded dependencies
sudo apt-get update
sudo apt-get install nodejs