Sanctum Zone

Keyword
A+ A A-
Welcome, Guest
Username: Password: Remember me
This is the place for tech talk! Discuss all things technology and internet related here. PC's, devices, programs, browsers, connections, proxy servers, security issues and more.

TOPIC: Linux

Linux 21 Nov 2013 12:43 #61

  • Space Bandit
  • Space Bandit's Avatar
  • ZONED OUT
  • Gold Boarder
  • Rank5
  • Posts: 3804
  • Thank you received: 2275
  • Karma: 70
andyh wrote:
Installers on linux come in either binary, package or tarball format.

Tarballs are .tar.gz extension and you compile it yourself from command line (rare nowadays except for l337 hax0rs etc)
Most are simple enough, ./configure then ./make install and then run the binary produced but you should always check the README file in the tarballs top folder.


Binary will be .sh or .bin extension and you just chmod +777 the filename from command line as root and run it with ./filename.sh for example.

Packages will be either .deb extension for ubuntu/mint/debian which you just open with package manager or if you're running a redhat based system such as centos or yellowdog etc then it'll be .rpm extension and you can install those from command line with rpm -ivh filename.rpm

the -v part of the switch means verbose and it'll tell you if you need to install any other packages first which the proggy needs to run, you'll find that small linux installs such as ubuntu desktop are often short on common dependencies such as gtk glibc etc.

Debian based OS also has apt-get which would pay dividends to learn to use and redhat based OS has yum which does the same job.

:D
Cheers I think!

The README file just said to run the install.... so I've run the install file for Wine & it kept saying that it conflicted with another version of Wine on the computer... (I've no idea where it is if it's there) but then it said it had completed the process...... but where is the program?
I've no idea what root user is or how to run stuff from the command line or what chmod+777 means! :D
Set the controls for the heart of the earth.
You must register to post here.

Linux 21 Nov 2013 13:27 #62

  • andyh
  • andyh's Avatar
  • ZONED OUT
  • Platinum Boarder
  • Rank6
  • Posts: 10337
  • Thank you received: 3545
  • Karma: 62
+777 basically means +rwx (read,write and run/execute)

+attributes too actually as the above is +666 iirc , matter of habit though...

try locate or which from command line and then the binary name to find where proggies are located.

Command line should be called 'terminal' in your program list, or type 'terminal' into the search box and you'll get it.

You can also CTRL+ALT+F1 which will give you command line and CTRL+ALT+F7 should pop you back on the gui desktop.
“Fascists are not human. A snake is more human.” - Hugo Chávez
You must register to post here.

Linux 21 Nov 2013 19:58 #63

  • Space Bandit
  • Space Bandit's Avatar
  • ZONED OUT
  • Gold Boarder
  • Rank5
  • Posts: 3804
  • Thank you received: 2275
  • Karma: 70
ok..... I've got to this...
lee@Lee ~ $ wine
The program 'wine' can be found in the following packages:
* wine1.2
* wine1.3
* wine1.0
Try: sudo apt-get install <selected package>
lee@Lee ~ $ sudo apt
[sudo] password for lee:
apt
Usage: apt command [options]
apt help command [options]

Commands:
autoclean - Erase old downloaded archive files
autoremove - Remove automatically all unused packages
build - Build binary or source packages from sources
build-dep - Configure build-dependencies for source packages
changelog - View a package's changelog
check - Verify that there are no broken dependencies
clean - Erase downloaded archive files
contains - List packages containing a file
content - List files contained in a package
deb - Install a .deb package
depends - Show raw dependency information for a package
dist-upgrade - Perform an upgrade, possibly installing and removing packages
download - Download the .deb file for a package
dselect-upgrade - Follow dselect selections
held - List all held packages
help - Show help for a command
hold - Hold a package
install - Install/upgrade packages
policy - Show policy settings
purge - Remove packages and their configuration files
rdepends - Show reverse dependency information for a package
reinstall - Download and (possibly) reinstall a currently installed package
remove - Remove packages
search - Search for a package by name and/or expression
show - Display detailed information about a package
source - Download source archives
sources - Edit /etc/apt/sources.list with nano
unhold - Unhold a package
update - Download lists of new/upgradable packages
upgrade - Perform a safe upgrade
version - Show the installed version of a package
This apt has Super Cow Powers

Now what?!
:D
Set the controls for the heart of the earth.
You must register to post here.

Re:Linux 22 Nov 2013 09:20 #64

  • andyh
  • andyh's Avatar
  • ZONED OUT
  • Platinum Boarder
  • Rank6
  • Posts: 10337
  • Thank you received: 3545
  • Karma: 62
Wine runs as part of the shell :)
Once installed you just click on winblows .exe files to run them, you don't run wine first so to speak :p
“Fascists are not human. A snake is more human.” - Hugo Chávez
You must register to post here.

Re:Linux 23 Nov 2013 12:03 #65

  • Space Bandit
  • Space Bandit's Avatar
  • ZONED OUT
  • Gold Boarder
  • Rank5
  • Posts: 3804
  • Thank you received: 2275
  • Karma: 70
I'm not having much luck with Linux. It's just lost 2 pieces of written work that's taken me 2 days to do. Looks like it's saved a blank copy over the work I had on one and corrupted the other which now just shows a bit of the first one!
I need to get into the file recovery thing but I haven't got a fucking clue what I'm doing!
How do I get to the forensic tools? The problem I'm finding with this is that everything I try & look for on the web it's just saying install and run this that & the other then nothing's happening... i can't see where stuff is getting installed & I've no idea how to find stuff on it.
Pissed off. :(
Is there a way I can reset it to yesterday afternoon?
Set the controls for the heart of the earth.
Last Edit: 23 Nov 2013 12:07 by Space Bandit.
You must register to post here.

Re:Linux 23 Nov 2013 12:50 #66

  • andyh
  • andyh's Avatar
  • ZONED OUT
  • Platinum Boarder
  • Rank6
  • Posts: 10337
  • Thank you received: 3545
  • Karma: 62
Space Bandit wrote:
I'm not having much luck with Linux. It's just lost 2 pieces of written work that's taken me 2 days to do. Looks like it's saved a blank copy over the work I had on one and corrupted the other which now just shows a bit of the first one!
I need to get into the file recovery thing but I haven't got a fucking clue what I'm doing!
How do I get to the forensic tools? The problem I'm finding with this is that everything I try & look for on the web it's just saying install and run this that & the other then nothing's happening... i can't see where stuff is getting installed & I've no idea how to find stuff on it.
Pissed off. :(
Is there a way I can reset it to yesterday afternoon?

Have you tried opening terminal and then using cd command to change to the folder where you think the file is and then typing ls -la ?

Generally speaking you don't need to know where 'stuff is installed' on linux, its a completely different setup to windows, it doesn't have a programs folder as such, it has libraries with .so extensions which are usually stored in /ib /usr/lib and binaries which are stored in /usr/bin or /bin so its a bit like windows having different folders for the .exe to the .dll files, in linux you would just call each program from command prompt after its been added to the shell path variable.

Eg, if you install pico or nano for example, you would just type pico or nano at command line to start the program no matter what folder you are in.

You say its written work, what program did you use to make it? Which folder did you save it in? Have you tried a search for the filename or extension?

You can save a blank file over the top of a written one in windows too if you just click to save under the same filename btw.

There's no way to 'rollback' like you can with winblows or with mac time machine unless you install it first, such as flyback for linux.

ls -la from command prompt will show all files btw, including hidden ones
“Fascists are not human. A snake is more human.” - Hugo Chávez
You must register to post here.

Re:Linux 23 Nov 2013 14:04 #67

  • Space Bandit
  • Space Bandit's Avatar
  • ZONED OUT
  • Gold Boarder
  • Rank5
  • Posts: 3804
  • Thank you received: 2275
  • Karma: 70
It was using Office Libre. They were saved as a text document in the documents folder. It looks like they've got corrupted somehow because one file is showing a bit of text from the other one which is obviously not right!
I've opened terminal & tried typing Is-la but it just says command not recognised!
Set the controls for the heart of the earth.
You must register to post here.

Re:Linux 23 Nov 2013 14:26 #68

  • andyh
  • andyh's Avatar
  • ZONED OUT
  • Platinum Boarder
  • Rank6
  • Posts: 10337
  • Thank you received: 3545
  • Karma: 62
ls SPACE -la

;)
“Fascists are not human. A snake is more human.” - Hugo Chávez
You must register to post here.

Re:Linux 23 Nov 2013 20:22 #69

  • Space Bandit
  • Space Bandit's Avatar
  • ZONED OUT
  • Gold Boarder
  • Rank5
  • Posts: 3804
  • Thank you received: 2275
  • Karma: 70
It doesn't do anything!
:conf:

Had to fuck it off anyway & just do it again! Only took me 3 hours to remember it all so not too much of a catastrophe!
Set the controls for the heart of the earth.
You must register to post here.

Re:Linux 24 Nov 2013 09:36 #70

  • andyh
  • andyh's Avatar
  • ZONED OUT
  • Platinum Boarder
  • Rank6
  • Posts: 10337
  • Thank you received: 3545
  • Karma: 62
ls -la will list files and folders inc hidden ones.
You have to cd into the folder that has the docs though, eg cd /home/bandit/Documents
Otherwise it'll just print the folder that bash has set as start point such as /root or /home
Using tab will autocomplete command line providing you type the first letter or two, making it a wee bit faster ;)

Be sure to use file-save as in openoffice and save in word97 .doc format ;)
“Fascists are not human. A snake is more human.” - Hugo Chávez
You must register to post here.

Linux 13 Dec 2013 21:33 #71

  • mild_peril
  • mild_peril's Avatar
  • ZONED OUT
  • Expert Boarder
  • Rank4
  • Posts: 1228
  • Thank you received: 1099
  • Karma: 0
Space Bandit wrote:
Right, I'm happy enough using Mint 12

Bit of an old post to drag up, but ya do know that Mint 16 is out?
But now I have come to believe that the whole world is an enigma,
a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth.
You must register to post here.

Linux 15 Dec 2013 20:44 #72

  • Space Bandit
  • Space Bandit's Avatar
  • ZONED OUT
  • Gold Boarder
  • Rank5
  • Posts: 3804
  • Thank you received: 2275
  • Karma: 70
mild_peril wrote:
Space Bandit wrote:
Right, I'm happy enough using Mint 12

Bit of an old post to drag up, but ya do know that Mint 16 is out?

I knew there were newer versions out but didn't realise it had got up to 16.
I might give it a go, but tbh I struggle a bit using Linux. Apart from the basic stuff like the desktop & all the regular features such as internet & word processing, I aint got a fucking clue what I'm doing! Like if I want to install a chess game, all I've got is a load of script & when I look up how to use it or ask AndyH I just get bogged down in technical jargon that's of 0 intelligibility to a novice user! I'm not even really bad with computers, so fuck knows how Mr Average Punter would deal with it!
Set the controls for the heart of the earth.
You must register to post here.

Re:Linux 15 Dec 2013 20:57 #73

  • andyh
  • andyh's Avatar
  • ZONED OUT
  • Platinum Boarder
  • Rank6
  • Posts: 10337
  • Thank you received: 3545
  • Karma: 62
I've said this hundreds of times now and I'll repeat it again..use vmware or virtualbox you will be able to run Linux in a window saving you loads of hassle, do not go native or dual boot until you have safely messed for a while
“Fascists are not human. A snake is more human.” - Hugo Chávez
You must register to post here.

Re:Linux 15 Dec 2013 22:09 #74

  • Space Bandit
  • Space Bandit's Avatar
  • ZONED OUT
  • Gold Boarder
  • Rank5
  • Posts: 3804
  • Thank you received: 2275
  • Karma: 70
andyh wrote:
I've said this hundreds of times now and I'll repeat it again..use vmware or virtualbox you will be able to run Linux in a window saving you loads of hassle, do not go native or dual boot until you have safely messed for a while

I had no choice but just to install it onto the hard drive because my keyboard stopped working in Windows & I couldn't find out how to fix it.
I use a Mac mostly anyway...... I'm just using Linux for internet now, not trusting it with documents again!

What shiny new features are in 16 then?
Set the controls for the heart of the earth.
You must register to post here.

Re:Linux 15 Dec 2013 22:22 #75

  • andyh
  • andyh's Avatar
  • ZONED OUT
  • Platinum Boarder
  • Rank6
  • Posts: 10337
  • Thank you received: 3545
  • Karma: 62
Too many to list tbh.
Macs run vmware fusion, same deal windowed multiple operating systems, total doddle to use, you can pause them, take snapshots, move files off the mac hard drive onto virtual machine and vice versa all without having to use bootcamp
“Fascists are not human. A snake is more human.” - Hugo Chávez
You must register to post here.

Re:Linux 15 Dec 2013 23:04 #76

  • Space Bandit
  • Space Bandit's Avatar
  • ZONED OUT
  • Gold Boarder
  • Rank5
  • Posts: 3804
  • Thank you received: 2275
  • Karma: 70
andyh wrote:
Too many to list tbh.
Macs run vmware fusion, same deal windowed multiple operating systems, total doddle to use, you can pause them, take snapshots, move files off the mac hard drive onto virtual machine and vice versa all without having to use bootcamp

I'll bet it doesn't work on a PPC Mac!
I'm not too arsed about having loads of different OSs though. One that works on each computer is suffice!
Set the controls for the heart of the earth.
You must register to post here.

Re:Linux 16 Dec 2013 00:02 #77

  • andyh
  • andyh's Avatar
  • ZONED OUT
  • Platinum Boarder
  • Rank6
  • Posts: 10337
  • Thank you received: 3545
  • Karma: 62
Powerpc? Jesus does it have cobwebs in it? :)
“Fascists are not human. A snake is more human.” - Hugo Chávez
You must register to post here.

Re:Linux 16 Dec 2013 00:15 #78

  • Space Bandit
  • Space Bandit's Avatar
  • ZONED OUT
  • Gold Boarder
  • Rank5
  • Posts: 3804
  • Thank you received: 2275
  • Karma: 70
andyh wrote:
Powerpc? Jesus does it have cobwebs in it? :)

It did until I started using it constantly!
It's a beast of a machine though..... shame they stopped supporting it. Cunts! :roll:
Set the controls for the heart of the earth.
You must register to post here.

Linux 26 Dec 2013 19:55 #79

  • mild_peril
  • mild_peril's Avatar
  • ZONED OUT
  • Expert Boarder
  • Rank4
  • Posts: 1228
  • Thank you received: 1099
  • Karma: 0
Space Bandit wrote:
mild_peril wrote:
Space Bandit wrote:
Right, I'm happy enough using Mint 12

Bit of an old post to drag up, but ya do know that Mint 16 is out?

I knew there were newer versions out but didn't realise it had got up to 16.
I might give it a go, but tbh I struggle a bit using Linux. Apart from the basic stuff like the desktop & all the regular features such as internet & word processing, I aint got a fucking clue what I'm doing! Like if I want to install a chess game, all I've got is a load of script & when I look up how to use it or ask AndyH I just get bogged down in technical jargon that's of 0 intelligibility to a novice user! I'm not even really bad with computers, so fuck knows how Mr Average Punter would deal with it!

I honestly can't remember Mint 12 now it's been so long, but it definitely might be worth you upgrading to at least Mint 13 as it's being updated 'til 2017. Mint 16 is absolutely class though.

You could upgrade through the terminal to Mint 13 by typing in..

sudo apt-get dist-upgrade

Although it is generally recommended that you do a back-up and install from scratch.

And as for installing anything, your best bet is just to use the Software Manager, which will be in the Menu and quite literally called Software Manager. And then just do a rough search for what you're looking for, and Bob's ya uncle.

If you're looking to install dependencies, or more specific software, have a look in the Synaptic Package Manager. It should be under Administration in your Mint menu, as should Software Manager.

Or, if you know the name of the program you want to install, more often than not, you can install it through the command line in the terminal.

Just say for example that you want to install 'wine', then you open the terminal and type..

sudo apt-get install wine

(and hit enter)
if you wanted to remove it, you would type..

sudo apt-get remove wine

'sudo' is basically just giving you admin privileges for the session
'apt-get' is generally related to installing, updating and removing programs
'install' or 'remove' is doing just that
and then followed by the name of the program, etc.

You can also install stuff via The Mint Website.

Hope that helps :thumbup:
But now I have come to believe that the whole world is an enigma,
a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth.
You must register to post here.
The following user(s) said Thank You: Space Bandit

Linux 26 Dec 2013 23:39 #80

  • Space Bandit
  • Space Bandit's Avatar
  • ZONED OUT
  • Gold Boarder
  • Rank5
  • Posts: 3804
  • Thank you received: 2275
  • Karma: 70
Cheers I'll give that a whizz.
I think I'm getting my head around it now..... so instead of downloading and installing stuff, I can just type that command into the terminal command and it will find the program on the web & just install it itself?
I might check out mint 16 as I've got zilch on the computer anyway. Is it upgradeable or does it require a clean install?
I've definitely had a couple of glitches with 12.... like sometimes I'll move the mouse & the screen looks like it's cracked into 2 different colours.
Set the controls for the heart of the earth.
You must register to post here.
Moderators: psketti, oioioi, batou
Time to create page: 0.174 seconds

Latest Members Blogs

  • 1
  • 2
  • 3
Prev Next

What is going on when it comes to 9-11 I…

The EPA (environmental protection agency) and OSHA took air samples in the days following September 11th, they reported that they found no excessive levels of asbestos contrary to other findings....

Read more

9-11 Eleven Years Later

9-11 Eleven Years Later

With the anniversary of September 11th literally just around the corner, unanswered questions still remain for families who lost loved ones during the tragic event, as well as from families...

Read more

Strange Noises, Possible Link to Mass An…

Strange Noises, Possible Link to Mass Animal Deaths

In 2008 the U.S. Supreme Court agreed to review a series of lower court rulings that restrict the United States Navy's use of sonar in submarine detection training exercises off...

Read more

Annual Server Target

Whether its 50 cents or five dollars, your donations are appreciated and help keep this community site running so we can all continue to enjoy using it.
This target is to meet our server cost for one year, June 2020 - May 2021, in USD.
$ 340 - Target
( £ 250 GBP )
donation thermometer
donation thermometer
$ 192 - Raised
( £ 140 GBP )
donation thermometer
56%
Most Recent Donation:
$122 USD on 4th Jan 2021
Bitcoin Address: bc1q0kazqya0nurfxtunxv807vm0m8852nnrrk8mj8
 
Ethereum Address: 0xe69915c80dd75df19f438d556267e04f932f057d
 
More Info: Donation options for TZ

No one is obliged to donate, please only donate what you can afford. Even the smallest amount helps. Being an active member is a positive contribution. Thank You.

TradeZone Latest

Visitors

Today87
Yesterday282
Week1816
Month1816
Total1055665

Your IP Address: 216.73.216.244 Your Browser and OS: Unknown - Unknown Saturday, 06 June 2026 07:24

Who Is Online

Guests : 835 guests online Members : No members online
© 2012 – 2021 Sanctum Zone | All rights reserved. This website is a place for people to express and discuss their views on the news and world events. DISCLAIMER: Please Note: Views expressed and submitted by contributors are their own personal opinions and do not necessarily reflect the views, opinions and beliefs of the Sanctum Zone website and its founder(s) , administrators , moderators , and any other website maintenance technicians, personnel and volunteers. Articles and messages posted on this website and forum are solely the opinion of their authors.

Login or Register

LOG IN

Register

User Registration
or Cancel