LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-24-2015, 11:41 AM   #1
modernnewspeak
LQ Newbie
 
Registered: Jan 2015
Posts: 4

Rep: Reputation: Disabled
Please help! I'm trying to install a program through the terminal


I'm sorry to ask such a simple question but every time I think I figure something out or think I'm going somewhere get stopped dead in my tracks. My friend installed linux on my computer and then moved away immediately so I have no one to help me!

I downloaded the webcam program Cheese. I found through some tutorials that I have to copy the folder to the /opt/ folder and the only way to do that is through the terminal. I found this tutorial and still can't manage to copy the folder. These are the problems I run into:

1. I don't know where to open the terminal. I've tried opening it from the extracted Cheese folder in my downloads folder and from the /opt/ folder itself. It opens up but:
2. when I type the command sudo cp -r cheese /opt/ it will ask for modernnewspeak's password. When I try to type this in nothing happens, even though it JUST let me type in the command. I pressed "enter" thinking maybe it was hiding my password and I get the message "cannot stat 'cheese'. No such file or directory"

please tell me what I'm doing wrong! I tried to follow that tutorial and look through the FAQ here but I cannot figure this out. Thank you in advance!

Last edited by modernnewspeak; 01-24-2015 at 11:42 AM.
 
Old 01-24-2015, 11:55 AM   #2
Miati
Member
 
Registered: Dec 2014
Distribution: Linux Mint 17.*
Posts: 326

Rep: Reputation: 106Reputation: 106
What distro are you running?
e.g. Ubuntu
 
Old 01-24-2015, 11:56 AM   #3
yooy
Senior Member
 
Registered: Dec 2009
Posts: 1,387

Rep: Reputation: 173Reputation: 173
you can install cheese through software manager in most linux distributions, but if you don't know the password you need to reinstall linux itself.
 
Old 01-24-2015, 01:10 PM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,869

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
You will be better off using the Software Center if you are using Ubuntu.
Also, if you are trying to copy the directory cheese, you need to be in the parent directory. If you downloaded it from somewhere, it is probably in the /home/user/Downloads directory so you need to go there first to copy or use the full path in the cp command.

When you type in a password, nothing shows on the screen.

The tutorial you linked to is Linux Mint which is similar to and derived from ubuntu. It's also 2 years old and may not be current.
 
Old 01-24-2015, 01:23 PM   #5
Higgsboson
Member
 
Registered: Dec 2014
Location: UK
Distribution: Debian 8 Cinnamon/Xfce/gnome classic Debian live usb
Posts: 508

Rep: Reputation: 49
Quote:
Originally Posted by modernnewspeak View Post
1. I don't know where to open the terminal. I've tried opening it from the extracted Cheese folder in my downloads folder and from the /opt/ folder itself.
Apparently, the Linux Mint desktop is supposed to be user friendly.
Isn't there are a 'Menu' button on the bottom left which will show icons of all the apps on the OS?
This should include the terminal.

Quote:
2. when I type the command sudo cp -r cheese /opt/ it will ask for modernnewspeak's password. When I try to type this in nothing happens, even though it JUST let me type in the command. I pressed "enter" thinking maybe it was hiding my password and I get the message "cannot stat 'cheese'. No such file or directory"
It's saying it doesn't recognise 'cheese'.
Have you extracted the cheese file? The link you've given says the software needs to be 'decompressesed'. Have you done that?
If not, find the downloaded icon for cheese on your desktop, right click and see if there's any decompression software which will then open up the cheese file.
Then try the copy command.

If there's problems with using the command line, you can always right click on the cheese file, copy, and then paste the file into your /opt/ directory.
 
1 members found this post helpful.
Old 01-24-2015, 02:01 PM   #6
joe_2000
Member
 
Registered: Jul 2012
Location: Aachen, Germany
Distribution: Void, Debian
Posts: 808

Rep: Reputation: 216Reputation: 216Reputation: 216
You definitely should not have to mess with downloading packages and copying files around to install cheese. I don't know how you came to this tutorial, but it's not the way you should go at this point. First learn the basics.
Since the tutorial was for linux mint I'll assume you are using Linux Mint.
If you are, installing cheese should be as simple as
Code:
sudo apt-get install cheese
It'll ask you for your user password, and you won't see anything while typing it.
If it says something like "command not found" you are not using Linux Mint.
In that case, please post the output of

Code:
cat /etc/issue
and
Code:
uname -a
 
Old 01-24-2015, 04:46 PM   #7
modernnewspeak
LQ Newbie
 
Registered: Jan 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thank you all for responding! I have Linux Mint Olivia

Quote:
Originally Posted by Higgsboson View Post
Apparently, the Linux Mint desktop is supposed to be user friendly.
That's probably why he chose that one, but I'm a little computer impaired. I like your username, by the way. My friend was studied physics and was an intern at the CERN particle accelerator in Switzerland when they found it. He said it was the best day of his life partying and getting drunk with 60 year old physicists who had been looking for the thing their entire careers.

Quote:
Isn't there are a 'Menu' button on the bottom left which will show icons of all the apps on the OS?
This should include the terminal.
I'm sorry, I meant to say I know how to open the terminal, but I didn't know if I had to right click on a specific file or folder and open it from there.


Quote:
It's saying it doesn't recognise 'cheese'.
Have you extracted the cheese file? The link you've given says the software needs to be 'decompressesed'. Have you done that?
If not, find the downloaded icon for cheese on your desktop, right click and see if there's any decompression software which will then open up the cheese file.
Then try the copy command.

If there's problems with using the command line, you can always right click on the cheese file, copy, and then paste the file into your /opt/ directory.
I extracted it, and when I right click I don't see any option to decompress any of the files in the folder.

I tried installing it through the software manager, it said it was installed, but I can't find the program anywhere.

Quote:
You definitely should not have to mess with downloading packages and copying files around to install cheese. I don't know how you came to this tutorial, but it's not the way you should go at this point. First learn the basics.
Since the tutorial was for linux mint I'll assume you are using Linux Mint.
If you are, installing cheese should be as simple as
Code:
sudo apt-get install cheese
I tried this last and I got a list of commands!

Thank you again for the help.
 
Old 01-24-2015, 05:38 PM   #8
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,869

Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
I have Linux Mint Olivia
That would be why you can't install from the Software Center or whatever it is called on Mint. As you can see from the Mint site below, it hasn't been supported for a year hence you will be unable to download and install in the standard manner which you should do to prevent dependency errors.

http://www.linuxmint.com/oldreleases.php

Quote:
I tried installing it through the software manager, it said it was installed, but I can't find the program anywhere.
Try typing: cheese in a terminal. Or try whereis cheese to find where it is if it is installed.
 
Old 01-24-2015, 06:37 PM   #9
joe_2000
Member
 
Registered: Jul 2012
Location: Aachen, Germany
Distribution: Void, Debian
Posts: 808

Rep: Reputation: 216Reputation: 216Reputation: 216
The menu also might have a search function. I would guess it gets installed in the section called multimedia though...
 
Old 01-24-2015, 07:21 PM   #10
Higgsboson
Member
 
Registered: Dec 2014
Location: UK
Distribution: Debian 8 Cinnamon/Xfce/gnome classic Debian live usb
Posts: 508

Rep: Reputation: 49
Quote:
Originally Posted by modernnewspeak View Post
My friend was studied physics and was an intern at the CERN particle accelerator in Switzerland when they found it. He said it was the best day of his life partying and getting drunk with 60 year old physicists who had been looking for the thing their entire careers.
Yes, well they've said they've found it, but they're very quiet right now. We'll have to wait and see if this will help produce a new Einstein.

Quote:
I extracted it, and when I right click I don't see any option to decompress any of the files in the folder.
Yes, that's because you've already extracted (decompressed) it.
You're trying to open the terminal from the correct location where the cheese file is.
Instead you should open the terminal and move your 'working directory' to the correct directory where cheese is located.

For example, if the cheese file is in /home/user/Downloads, then I would do this:
Open terminal, do sudo [enter] and input your password. Then:
Code:
cd /
i.e. Go to the beginning
Code:
cd home/user/Downloads
i.e. Go to Downloads directory which has cheese in it.
Code:
sudo cp -r sourceFolder /opt/
i.e now do the copy command.

Last edited by Higgsboson; 01-24-2015 at 07:28 PM.
 
Old 01-25-2015, 05:38 AM   #11
joe_2000
Member
 
Registered: Jul 2012
Location: Aachen, Germany
Distribution: Void, Debian
Posts: 808

Rep: Reputation: 216Reputation: 216Reputation: 216
@Higgsboson: While your instructions are not technically wrong, this is not the procedure that the OP should follow to install cheese. Cheese is in the standard repos, and presumably he already installed it but cannot find it now.
We should stop giving him instructions about the "wrong" approach, that will only cause confusion.
 
1 members found this post helpful.
Old 01-25-2015, 06:14 AM   #12
Higgsboson
Member
 
Registered: Dec 2014
Location: UK
Distribution: Debian 8 Cinnamon/Xfce/gnome classic Debian live usb
Posts: 508

Rep: Reputation: 49
Quote:
Originally Posted by joe_2000 View Post
@Higgsboson: While your instructions are not technically wrong, this is not the procedure that the OP should follow to install cheese. Cheese is in the standard repos, and presumably he already installed it but cannot find it now.
We should stop giving him instructions about the "wrong" approach, that will only cause confusion.
Yes, but I'm wondering if the OS is looking at the newly downloaded cheese file and thinking it's a full-blown program.
If the cheese program is in the standard repos of Linux Mint, then the OP can simply delete the downloaded cheese file.
Then open terminal as sudo and:
Code:
sudo apt-get install cheese
http://linuxondesktop.blogspot.co.uk...plication.html
This should work.
 
1 members found this post helpful.
Old 01-25-2015, 07:26 PM   #13
kindofabuzz
Member
 
Registered: Mar 2010
Location: There
Distribution: Linux Mint 17.1
Posts: 237

Rep: Reputation: 45
You should update your Linux Mint. Either go to 13 since it's a LTS and supported until 2017, or got with he newest which is version 17.1
 
1 members found this post helpful.
Old 01-26-2015, 12:45 PM   #14
joe_2000
Member
 
Registered: Jul 2012
Location: Aachen, Germany
Distribution: Void, Debian
Posts: 808

Rep: Reputation: 216Reputation: 216Reputation: 216
Quote:
Originally Posted by kindofabuzz View Post
You should update your Linux Mint. Either go to 13 since it's a LTS and supported until 2017, or got with he newest which is version 17.1
Definitely 17.1, which is also LTS and supported until 2019.
 
Old 01-27-2015, 02:35 PM   #15
modernnewspeak
LQ Newbie
 
Registered: Jan 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thank you again everyone for taking the time to help.

Quote:
Originally Posted by yancek View Post
Try typing: cheese in a terminal. Or try whereis cheese to find where it is if it is installed.
I did this, it's in usr/share/cheese, but it's just a bunch of files, no program.

Quote:
That would be why you can't install from the Software Center or whatever it is called on Mint. As you can see from the Mint site below, it hasn't been supported for a year hence you will be unable to download and install in the standard manner which you should do to prevent dependency errors.
Judging by how helpless I am trying to install this one program, is there any way I'd be able to upgrade to Mint 17.1 on my own? Or is it time to take out a craigslist ad looking for someone who can?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using terminal command sudo apt-get "program" install to install software rphowardjr Linux - Newbie 2 12-05-2012 01:36 PM
Is there a way to install a new terminal program on your box? Iceman99one Linux - Software 5 02-25-2009 01:03 AM
Running program from terminal with & does nothing, program stops DittoAlex Linux - General 1 10-05-2007 02:35 AM
terminal program metallica1973 Linux - General 4 02-24-2003 12:04 AM
terminal program metallica1973 Linux - Networking 1 02-23-2003 11:09 PM


All times are GMT -5. The time now is 08:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration