BIN file

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post please read this

BIN file

Postby gerj on Sat Jun 09, 2007 11:10 am

How do I move a bin file from my desktop to the '/BIN' directory?
I can't drop and drag because it says I don't have permission.

I know about sudo, only I don't know the commands to move the file.

I'm sure there is at least one brain out there that can help me.

Thanks in advance.
gerj
Level 1
Level 1
 
Posts: 10
Joined: Sat Jun 09, 2007 10:01 am

Linux Mint is funded by ads and donations.
 

Re: BIN file

Postby scorp123 on Sat Jun 09, 2007 1:44 pm

gerj wrote:How do I move a bin file from my desktop to the '/BIN' directory?
What are you trying to do ?? /bin is usually reserved for programs that belong to the OS and need to be executed during boot time ... It's not something you should mess around with unless you know what you do.

You probably meant /usr/bin ... that's where end-user programs should go. But still: you shouldn't move files into this location if you don't know precisely what you do. As for installing programs: That's why we have package managers such as "Synaptic" here on Linux that will handle these things for us. You're not supposed to install stuff manually (ewwww, how barbaric :D ...)

Can you please tell us more what you are trying to do here?

As for your question:

1. You can have your own "bin" directory inside your home, e.g. /home/youraccount/bin and install scripts etc. into this location (programs installed there would only be accessible to you and not to other users on the same machine ... )

2. The command to move things around is mv .... see the man page: man mv

So what you need is a combination such as ...
Code: Select all
sudo mv /path/to/file/that/shouldnt/need/2/be/installed/this/way /usr/bin


If you destroy your system you will not blame anyone else, OK? :D
User avatar
scorp123
Level 8
Level 8
 
Posts: 2287
Joined: Sat Dec 02, 2006 4:19 pm
Location: Switzerland

Ahhhh

Postby gerj on Sat Jun 09, 2007 3:19 pm

What I did was download Real Player for Linux and it downloads as a bin and goes to my desktop. So, where does it go? How do I run it? I'm assuming it goes in the /bin directory. Please tell me if I'm doing something wrong.

I appreciate your input on this.
gerj
Level 1
Level 1
 
Posts: 10
Joined: Sat Jun 09, 2007 10:01 am

Postby newW2 on Sat Jun 09, 2007 3:44 pm

Why not just use the Linux Software Portal? Clem added Real Player today. See post:

http://www.linuxmint.com/forum/viewtopi ... 0332#20332
User avatar
newW2
Level 6
Level 6
 
Posts: 1081
Joined: Fri Apr 06, 2007 10:24 am
Location: USA

Postby Husse on Sat Jun 09, 2007 4:08 pm

I agree with newW2
Scorp123 wrote
/bin is usually reserved for programs that belong to the OS and need to be executed during boot time ...

So why do you assume "it goes in the /bin directory"?
Depending of what kind of bin file it is you have some options but use the software portal if you have Cassandra. If you have Bianca post back (and give us the name of your file) and I (or someone else will help you get it installed)
Or if you have Bianca find a .deb file for Real Player and double click on it...
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Ahhhh

Postby scorp123 on Sun Jun 10, 2007 12:49 pm

gerj wrote: What I did was download Real Player for Linux
In the future: Please add such info right away, OK? :wink:

gerj wrote: and it downloads as a bin
You mean a filename such as RealPlayer-Basic-Linux-v4.bin ...?

That *.bin extension is only there for information purposes, e.g. to tell you the user "Hi! I'm a binary. Please execute me!"

Moving this into /bin doesn't do anything :D It just places a file somewhere it doesn't belong :D

gerj wrote: and goes to my desktop.
Because you probably configured your browser to download everything automatically onto your desktop? This can be configured in the "Preferences" menu :wink:

gerj wrote: So, where does it go? How do I run it?
I imagine there are pretty clear installation instructions on the real.com web site? And I am sure there was a README file somewhere somehow? :wink:

gerj wrote: I'm assuming it goes in the /bin directory.
Your assumptions are wrong. You should at least read this before touching your filesystem manually: http://en.wikipedia.org/wiki/Fhs

gerj wrote: Please tell me if I'm doing something wrong.
Done. :wink:
User avatar
scorp123
Level 8
Level 8
 
Posts: 2287
Joined: Sat Dec 02, 2006 4:19 pm
Location: Switzerland


Return to Other topics

Who is online

Users browsing this forum: Yahoo [Bot] and 6 guests