LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 02-20-2018, 07:24 PM   #1
ryu-id
LQ Newbie
 
Registered: Feb 2018
Posts: 2

Rep: Reputation: Disabled
Unhappy how to


hello, i'm a new linux user, it's hard to install the program, everytime i install something comes warning invalid install operation. please help me learn and solve it
 
Old 02-20-2018, 07:44 PM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Hi ryu-id,

Welcome to LQ!

It would help if you could be more specific. Why don't you start with the biggest problem you are having. And which distro are you using?
 
Old 02-20-2018, 07:46 PM   #3
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
how to: show your work, just like in math class. so we can better see your mistakes, just like in math class. thanks
 
Old 02-20-2018, 08:15 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,321
Blog Entries: 28

Rep: Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140
In other words, how exactly are you trying to install these programs.

Also, what Linux distro/version are you using.

If you have not done so, you may wish to read this: https://www.linuxquestions.org/linux...Ask_a_Question

Welcome to LQ.
 
Old 02-20-2018, 08:18 PM   #5
ryu-id
LQ Newbie
 
Registered: Feb 2018
Posts: 2

Original Poster
Rep: Reputation: Disabled
I want my data as much as 40GB. data consists of files with extension .xlsx, .docx, .exe, .rar. data is lost and I want to restore it. when i write "sudo apt-get isntall my tesdisk unable to open package out warning" dpkg: error: requested operation requires superuser privilege
 
Old 02-20-2018, 08:27 PM   #6
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by ryu-id View Post
I want my data as much as 40GB. data consists of files with extension .xlsx, .docx, .exe, .rar. data is lost and I want to restore it. when i write "sudo apt-get isntall my tesdisk unable to open package out warning" dpkg: error: requested operation requires superuser privilege
Code:
sudo 
su
su -
all give you superuser privileges, a password is needed to acquire it.
Code:
sudo apt-get install <package>
to find out what groups user has
Code:
groups
to see what groups system has
Code:
cat /etc/group
if you are not in the sudo group or wheel group depending on your Distro, then you have to go su, with a password to give your user the group, log out then in again to activate the group.
Code:
su
password
#usermod -aG sudo userName

Last edited by BW-userx; 02-20-2018 at 08:32 PM.
 
Old 02-21-2018, 11:32 AM   #7
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,139

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
Since you're using Ubuntu,
sudo apt-get install whatever_it's_called
will work to install a program. Otherwise, there's always the software installation program in the menu, which is easier still.

Let's look at that data. Of course, if you have masses of Windows stuff, it may be easier to stick with Windows!

.docx LibreOffice Writer will import that Word file, although the layout may need tweaking, depending on how different the fonts are. There's a set of fonts called Liberation where the letters are the same size as in Times and Ariel to minimise that problem.

.slsx LibreOffice will import the spreadsheet data, but not the formulae.

.rar The archive manager you'll find in the menu may be able to open that, but it probably won't. If it can't, you can convert it to a Linux format.
1. Try "whereis unrar" in the terminal to check whether you have unrar. If you haven't, install it.
2. Create a temporary folder (let's call it temp) using your file manager and copy the .rar file into it. Don't actually move it, as you want to keep it until the following steps are safely completed.
3. In the terminal emulator,
cd temp
unrar e your_file.rar
4. To prevent the .rar file getting put into the new archive,
rm your_file.rar
4. Run the archive manager and re-archive the contents of temp. The program has a help option that will show you what to do.

.exe That, of course, is just a Windows program. You may be able to run it in Linux using Wine, or maybe not.
https://www.winehq.org/
To see what alternative programs there are, look at
https://linuxappfinder.com/alternatives
 
Old 02-22-2018, 06:57 AM   #8
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Quote:
Originally Posted by ryu-id View Post
I want my data as much as 40GB. data consists of files with extension .xlsx, .docx, .exe, .rar. data is lost and I want to restore it. when i write "sudo apt-get isntall my tesdisk unable to open package out warning" dpkg: error: requested operation requires superuser privilege
I'm confused by this update.

Are you trying to recover data from a Windows disk?

You originally asked about installing, however that is different than recovery of data and/or programs.

Can you clarify what your problem is?
 
  


Reply



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



LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:50 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
Open Source Consulting | Domain Registration