LinuxQuestions.org
Visit Jeremy's Blog.
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 08-02-2017, 06:46 AM   #61
Jinux75
Member
 
Registered: Jul 2017
Location: The Netherlands
Distribution: Linux Mint, Ubuntu 20.04
Posts: 97

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by hazel View Post
You're still thinking like a Windows user. In Windows, every installed program plonks an icon on your desktop, and the desktop soon becomes crowded with rows and rows of icons. Linux program developers consider it very rude to put icons on other people's desktops without asking. It's your desktop so you put the icons there if you want them. You use them only for your favorite programs. With most desktops, you do it by right-clicking and choosing new->shortcut.

Newly installed programs are usually put into your desktop menu.

Where they actually go to? The command usually goes into /usr/bin, its libraries into /usr/lib, documentation into /usr/share/doc, and any default configuration files into /etc.
You are right again :-D I looked it up and see the program in /usr/bin. I think i am understanding a little how things are done.
Okay, so the command would be the executable. . . I don't have any icons on my desktop i put them all on my taskbar...

Now i need to get this ls under control, because when i ls my /usr/bin it is so long when i scroll up i can not even see the beginning. So i did ls -m but then i have to sit real close to the screen with my eyes to find it.
 
Old 08-02-2017, 06:48 AM   #62
Jinux75
Member
 
Registered: Jul 2017
Location: The Netherlands
Distribution: Linux Mint, Ubuntu 20.04
Posts: 97

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Rickkkk View Post
Code:
 ls | more
YES ! ! ! Finally it works thanks Rickkkk you saved the day :-D i never forgetting this one. ls |more
 
Old 08-02-2017, 07:03 AM   #63
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,638
Blog Entries: 19

Rep: Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469
I love your enthusiasm! Myself when young...
 
Old 08-02-2017, 07:05 AM   #64
Jinux75
Member
 
Registered: Jul 2017
Location: The Netherlands
Distribution: Linux Mint, Ubuntu 20.04
Posts: 97

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Shadow_7 View Post
apt-file in debian based distros is good for knowing about the files of a package.

$ apt-file list <packagename>

$ apt-file find <filename>

Without those there are other ways.

$ dpkg -c package.deb

or dpkg -x package name and find in the current path, one way to unzip a deb package from a certain POV. With ar -x and other routes too. But you need the .deb where apt-file just keeps a database of information. The advantage of using the package management system is that you can cleanly uninstall something in a semi-trusted way. Or at least keep track of what came from where. Baring dpkg-divert for the things that come from several sources.

Well it did not have apt-file but i could install it with apt-get instal apt-file.
Soooo i did. And it installed and worked, a question arrived as i saw all these packages coming on my screen. How do i know it is a trustworthy server i donload from, can i see this somewhere ? I can see it is from ftp.tu-chemnitz.de but how do i know the files they serve are ok?
 
Old 08-02-2017, 07:09 AM   #65
Jinux75
Member
 
Registered: Jul 2017
Location: The Netherlands
Distribution: Linux Mint, Ubuntu 20.04
Posts: 97

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hazel View Post
I love your enthusiasm! Myself when young...

Well i must say this is the most normal and friendly linux forum where i actually get nice answers instead of bad talk about me being a dos/windows user. I am only trying to learn some stuff and you all are helping me. So i get most of my enthusiasm from you all, giving me pointers and helping me to understand. So thanks :-)
 
Old 08-02-2017, 07:20 AM   #66
Jinux75
Member
 
Registered: Jul 2017
Location: The Netherlands
Distribution: Linux Mint, Ubuntu 20.04
Posts: 97

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Rickkkk View Post

Anyway, as you will often hear from members here, linux is not Windows, so it shouldn't be surprising that it works differently.
I am very happy it is not windows and has its own identity, but with all these different distro's it sometimes feels a bit schizophrenic. And i do not mean any harm to linux with that, it is for a newbie noob a bit harder to get grip on how it all works, and seems that with all these differences there is no structure. But i am beginning to see some light with all the help i am getting and this makes it fun. I think i have to choose a distro and stick with that for a while so it will be mint for now and when i get some grip i can always take on others. :-)
 
Old 08-02-2017, 07:25 AM   #67
Jinux75
Member
 
Registered: Jul 2017
Location: The Netherlands
Distribution: Linux Mint, Ubuntu 20.04
Posts: 97

Original Poster
Rep: Reputation: Disabled
Ok now it tells me :The system-wide cache is empty. You may want to run 'apt-file update'
as root to update the cache. You can also run 'apt-file update' as
normal user to use a cache in the user's home directory.
Processing triggers for libc-bin (2.19-0ubuntu6.13) ...

does it uses cache in the root directory when i update as root then ?
 
Old 08-02-2017, 07:31 AM   #68
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,638
Blog Entries: 19

Rep: Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469
Quote:
Originally Posted by Jinux75 View Post
Ok now it tells me :The system-wide cache is empty. You may want to run 'apt-file update'
as root to update the cache. You can also run 'apt-file update' as
normal user to use a cache in the user's home directory.
Processing triggers for libc-bin (2.19-0ubuntu6.13) ...

does it uses cache in the root directory when i update as root then ?
No, it's in /var/cache. All varying system data goes in /var.

Are you not aware that you must always run apt-get update as root before using apt for anything else? How is the program supposed to know what software is available if you haven't sync'd the local cache with the repository?
 
Old 08-02-2017, 07:32 AM   #69
Jinux75
Member
 
Registered: Jul 2017
Location: The Netherlands
Distribution: Linux Mint, Ubuntu 20.04
Posts: 97

Original Poster
Rep: Reputation: Disabled
Now i have this program and installed it with the software manager. I can see the command (executable) program is in the /usr/bin directory. Now when i right click on it, i thought i could do, new, shortcut. But there is no new? I must be doing something wrong again, is it possible to make a link to the desktop from the command line?
my
Also I the program is called, freefilesync and i like to start it up when the system starts. Probably there are ways to do this, i am looking for the best way though. And also, the program is not in my menu, as one would expect . . .
 
Old 08-02-2017, 07:40 AM   #70
Jinux75
Member
 
Registered: Jul 2017
Location: The Netherlands
Distribution: Linux Mint, Ubuntu 20.04
Posts: 97

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hazel View Post
No, it's in /var/cache. All varying system data goes in /var.

Are you not aware that you must always run apt-get update as root before using apt for anything else? How is the program supposed to know what software is available if you haven't sync'd the local cache with the repository?
Ofcourse i am not aware, but i am now... And reading this makes me understand, i think.
So in the local cache are all my ... programs (and what more?) ? And it looks at the repository for updates then? It compares the both?

So this apt-get update is pretty powerful stuff. I did apt-get update and get a long list, with "Hit" and " Ign"
fetched 1.699 kB in 7s

Hit is probably old local cache new in repository and Ign is ignore, because the local cache is up to date, yes ?

I did man apt-get and reading now, sorry forgot the man program was on my laptop now.

As i am reading the man page, Im thinking the person who made apt-get is really smart :-p

Last edited by Jinux75; 08-02-2017 at 07:45 AM.
 
Old 08-02-2017, 07:53 AM   #71
Jinux75
Member
 
Registered: Jul 2017
Location: The Netherlands
Distribution: Linux Mint, Ubuntu 20.04
Posts: 97

Original Poster
Rep: Reputation: Disabled
Is a package, a program ? or is it packed and when installing it becomes a program, and if so, can i delete the package, or will the program also be deleted. Because i read here that i can do clean and autoclean, for the cache to be maintained and not grow out of control. Ofcourse i first need to know how this all works before i can do anything to keep my system nice and clean. Does it have any effect on system performance when the cache is really big? So many questions arrive when playing and reading with linux. Oh there is a changelog option switch hmmm.

apt-get changelog
handler silently failed :-(

ok got it [2]

404 page not found? with some ip address, so i guess no changelogs for me.

Last edited by Jinux75; 08-02-2017 at 08:00 AM.
 
Old 08-02-2017, 08:11 AM   #72
Jinux75
Member
 
Registered: Jul 2017
Location: The Netherlands
Distribution: Linux Mint, Ubuntu 20.04
Posts: 97

Original Poster
Rep: Reputation: Disabled
Hey there is a startup applications thing in the menu, so now freefilesync start when the system starts :-) problem solved, think.
 
Old 08-02-2017, 08:58 AM   #73
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,638
Blog Entries: 19

Rep: Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469Reputation: 4469
Quote:
Originally Posted by Jinux75 View Post
Is a package, a program ? or is it packed and when installing it becomes a program, and if so, can i delete the package, or will the program also be deleted. Because i read here that i can do clean and autoclean, for the cache to be maintained and not grow out of control. Ofcourse i first need to know how this all works before i can do anything to keep my system nice and clean. Does it have any effect on system performance when the cache is really big? So many questions arrive when playing and reading with linux. Oh there is a changelog option switch hmmm.

apt-get changelog
handler silently failed :-(

ok got it [2]

404 page not found? with some ip address, so i guess no changelogs for me.
What exactly is contained in a package is a matter for the developers! It can be a single program with associated libraries and documentation (e.g. firefox). It can be a group of related programs that share a common functionality (e.g. findutils). It can be a big toolkit of programs (e.g. coreutils). It can be an isolated library that is used by many different programs (e.g. libpng, which is a widely-used graphical format library). And different distros don't always package things the same way.

If I were you, I wouldn't experiment with the apt system. It's absolutely fundamental to all Debian-based distros and you don't want to bork it. In fact, as a general rule, I would say don't do anything as root just for an experiment, to see what a particular argument does. Your enthusiasm is charming but you sometimes make me think of a small child poking his finger into a power socket to see what will happen.
 
Old 08-02-2017, 09:29 AM   #74
Jinux75
Member
 
Registered: Jul 2017
Location: The Netherlands
Distribution: Linux Mint, Ubuntu 20.04
Posts: 97

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hazel View Post
What exactly is contained in a package is a matter for the developers! It can be a single program with associated libraries and documentation (e.g. firefox). It can be a group of related programs that share a common functionality (e.g. findutils). It can be a big toolkit of programs (e.g. coreutils). It can be an isolated library that is used by many different programs (e.g. libpng, which is a widely-used graphical format library). And different distros don't always package things the same way.

If I were you, I wouldn't experiment with the apt system. It's absolutely fundamental to all Debian-based distros and you don't want to bork it. In fact, as a general rule, I would say don't do anything as root just for an experiment, to see what a particular argument does. Your enthusiasm is charming but you sometimes make me think of a small child poking his finger into a power socket to see what will happen.
Ok i leave the powersocket alone, ... for now. You talk about Debian based distro, so Ubuntu is Debian-based? So there are non Debian based distro's and what are they based on then ?

Oh when i look to this, everything is debian ?
https://cdn.arstechnica.net/wp-conte...1930922347.png
 
Old 08-02-2017, 09:39 AM   #75
Jinux75
Member
 
Registered: Jul 2017
Location: The Netherlands
Distribution: Linux Mint, Ubuntu 20.04
Posts: 97

Original Poster
Rep: Reputation: Disabled
So different kinds of desktops, like KDE and Gnome, i get, because of the different styles people would like to have on their desktops, but all these different kinds of distro's. There is Linux Mint Debian, and there is Debian Ubuntu Mint. Why is that? It is a nice big family of software never the less, but for me, as a noob it is difficult to pick one, i am glad i did, but it keeps me wondering, what if i install another distro, would all the commands be the same, or do i need to learn other commands, everything debian based is the same? It must be right?
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
So many newbie questions gadgets Linux - Newbie 3 04-02-2009 10:28 AM
a few newbie questions 46&2 Linux - Newbie 3 05-16-2004 09:41 PM
newbie questions G011um Linux - General 7 03-14-2002 09:56 PM
many questions from a newbie dirkduck169 Linux - Newbie 2 05-14-2001 05:01 AM

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

All times are GMT -5. The time now is 02:19 AM.

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