LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 09:48 AM   #76
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874

Quote:
Originally Posted by Jinux75 View Post
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?
You could change the /etc/apt/sources.list to point to a different mirror, perhaps even debian.org. And if when you update everything stays the same, that's how you know. Also reproduce-able builds, which in theory is apt-get source <package> and build it, and the .deb files should match bit for bit against those downloaded to /var/cache/apt/archives/. Except for the date / time stamps of course. The methodology is probably more involved than that, but one of many ways to "know". Otherwise install as few things as possible and run as few things as possible to maintain a human audit-able and therefor trust-able base. As trust-able as a human is anyway.
 
Old 08-02-2017, 09:55 AM   #77
Jinux75
Member
 
Registered: Jul 2017
Location: The Netherlands
Distribution: Linux Mint, Ubuntu 20.04
Posts: 97

Original Poster
Rep: Reputation: Disabled
Reading Debian in wikipedia i got reading about kernel. So there are also different kernel's. It looks like to me, everything is on top of each other, beginning with the kernel(OS), on top of the kernel there is the distro (ubuntu, knoppix) that uses a kernel and in the distro there is the desktop environment. And a distro could be Debian based. And all these different distro's are born, because they can.

And there are different (updated) versions of a kernel? And the kernel is Debian, then right? Or ... hmm all these reading hurts my head. I think i go install something with the software manager, it is so handy :-)
 
Old 08-02-2017, 10:18 AM   #78
Jinux75
Member
 
Registered: Jul 2017
Location: The Netherlands
Distribution: Linux Mint, Ubuntu 20.04
Posts: 97

Original Poster
Rep: Reputation: Disabled
It look like i am doing ten things at the same time again, sorry for this. I have however been trying one thing but i do not seem to understand. Several times when i install something, with the software manager or just by downloading a tar.bz2 and then installing it, i do not see where the program is, it runs, but when i exit it, i need to search the filesystem in order to get it running again. And when i type in the search box of the menu, it lets me see the package i had downloaded but not the installed program, and this drives me a bit crazy... Am i doing something wrong ? I get it that the programmers don't want to overflow me with icons, but it would be handy to ask me if i would want one or not... Then when i find the program, mostly in /usr/bin i try clicking with my right mouse button, but there is no way i can make an icon for it. So 2 questions, how do i make an icon, and why is it not automatically shown in the menu ? oh 3 questions, why are the download packages in the searchbox and not the program that is installed, they have the same name.

Maybe i need to restart, i'll try that ?

Last edited by Jinux75; 08-02-2017 at 10:26 AM.
 
Old 08-02-2017, 10:45 AM   #79
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,572
Blog Entries: 19

Rep: Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451
No, not everything is Debian! Here's a more complete tree:
https://upload.wikimedia.org/wikiped...n_Timeline.svg

People often ask why there are so many distros. The answer is that there are so many Linux users with different requirements. Some distros are designed for newbies, others are for experts. Some use bleeding edge software and some use only software versions that are tried and tested. Some are for old computers, others need the most recent models to really show what they are capable of. Some are tiny, others are big. Some are source-based with everything built locally, most are binary. Some are guaranteed to contain only free software. Some offer simplicity of structure, some maximum choice of applications, some are specialised for particular uses. And, as you have already noticed, they usually have different default desktops and default application collections.

In the world of Windows, everyone gets the same system. If you don't like it, tough! It isn't about you, it's about Microsoft and their profits. In the world of Linux, it's up to you to find a distro that suits you.

PS. The kernel is the Linux kernel and that is that. It doesn't belong to Debian. It belongs to Linux as a whole. But it can be built and configured in a gazillion different ways, and binary distros provide their own configured version.

PPS: We're not supposed to post advertisements here but I really do think you might profit from reading my book http://www.lulu.com/shop/hazel-russm...-21229401.html

Last edited by hazel; 08-02-2017 at 10:54 AM.
 
Old 08-02-2017, 10:55 AM   #80
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

In the world of Windows, everyone gets the same system. If you don't like it, tough! It isn't about you, it's about Microsoft and their profits. In the world of Linux, it's up to you to find a distro that suits you.
So finding a distro means installing them and trying them until you come across one that suits. I looked there is also gentoo instead of debian. So when found one that suits, then learn how all is working and then use Arch to build one that really suits ...

Any idea about how to make a link to a program? or why it is not in my menu? I have installed 2 applications, but they are not in the menu under all applications, and when i type in the search box i get the install packages of the programs. When navigating to /usr/bin i see the programs, but right clicking on them i do not see new, to make an icon. I try drag drop maybe this is the way...
 
Old 08-02-2017, 11:16 AM   #81
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,572
Blog Entries: 19

Rep: Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451
Quote:
Originally Posted by Jinux75 View Post
So finding a distro means installing them and trying them until you come across one that suits. I looked there is also gentoo instead of debian. So when found one that suits, then learn how all is working and then use Arch to build one that really suits ...
You don't want to use Gentoo or Arch just yet! Those are definitely for experts. And building your own means using Linux From Scratch, which you are definitely not ready for.
Quote:
Any idea about how to make a link to a program? or why it is not in my menu? I have installed 2 applications, but they are not in the menu under all applications, and when i type in the search box i get the install packages of the programs. When navigating to /usr/bin i see the programs, but right clicking on them i do not see new, to make an icon. I try drag drop maybe this is the way...
Like I said, this depends on the desktop. For the big desktops, you can usually right-click on the empty desktop itself, choose "new", then "shortcut" and enter the full path to the program (/usr/bin/whatever)
 
Old 08-02-2017, 11:29 AM   #82
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, not everything is Debian! Here's a more complete tree:
https://upload.wikimedia.org/wikiped...n_Timeline.svg

People often ask why there are so many distros. The answer is that there are so many Linux users with different requirements. Some distros are designed for newbies, others are for experts. Some use bleeding edge software and some use only software versions that are tried and tested. Some are for old computers, others need the most recent models to really show what they are capable of. Some are tiny, others are big. Some are source-based with everything built locally, most are binary. Some are guaranteed to contain only free software. Some offer simplicity of structure, some maximum choice of applications, some are specialised for particular uses. And, as you have already noticed, they usually have different default desktops and default application collections.

In the world of Windows, everyone gets the same system. If you don't like it, tough! It isn't about you, it's about Microsoft and their profits. In the world of Linux, it's up to you to find a distro that suits you.

PS. The kernel is the Linux kernel and that is that. It doesn't belong to Debian. It belongs to Linux as a whole. But it can be built and configured in a gazillion different ways, and binary distros provide their own configured version.

PPS: We're not supposed to post advertisements here but I really do think you might profit from reading my book http://www.lulu.com/shop/hazel-russm...-21229401.html
Yes that is more complete overview indeed.

Wow, you got 5 stars on your book, but i hae the reading, is it also available as an audio book? No serious 92 pages, i'll think about it, is it also in pdf format?
 
Old 08-02-2017, 11:47 AM   #83
Jinux75
Member
 
Registered: Jul 2017
Location: The Netherlands
Distribution: Linux Mint, Ubuntu 20.04
Posts: 97

Original Poster
Rep: Reputation: Disabled
Hazel, you have a lovely website :-) I would like some tea now.
 
Old 08-02-2017, 11:57 AM   #84
Jinux75
Member
 
Registered: Jul 2017
Location: The Netherlands
Distribution: Linux Mint, Ubuntu 20.04
Posts: 97

Original Poster
Rep: Reputation: Disabled
No GTK2 installed, so no sudoku, starting up the software manager to see if i can install it...

hmm. what is GTK ? it tells me:
No package 'gtk+-2.0' found
No package 'glib-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables DEPS_CFLAGS
and DEPS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

I need to adjust my pkg config path, ahhu :-|

Last edited by Jinux75; 08-02-2017 at 12:00 PM.
 
Old 08-02-2017, 12:03 PM   #85
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,572
Blog Entries: 19

Rep: Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451
Quote:
Originally Posted by Jinux75 View Post
No GTK2 installed, so no sudoku, starting up the software manager to see if i can install it...

hmm. what is GTK ? it tells me:
No package 'gtk+-2.0' found
No package 'glib-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables DEPS_CFLAGS
and DEPS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

I need to adjust my pkg config path, ahhu :-|
No you don't! Just install gtk2-dev and build-essential. Why must you always make things difficult for yourself?
 
Old 08-02-2017, 12:10 PM   #86
Jinux75
Member
 
Registered: Jul 2017
Location: The Netherlands
Distribution: Linux Mint, Ubuntu 20.04
Posts: 97

Original Poster
Rep: Reputation: Disabled
Because i do not know what i am doing ?

You should make your books, download-able !

Last edited by Jinux75; 08-02-2017 at 12:14 PM.
 
Old 08-02-2017, 12:21 PM   #87
Jinux75
Member
 
Registered: Jul 2017
Location: The Netherlands
Distribution: Linux Mint, Ubuntu 20.04
Posts: 97

Original Poster
Rep: Reputation: Disabled
I think my sudoku is not so good:
(sudoku_aid:22635): Gtk-CRITICAL **: IA__gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
 
Old 08-02-2017, 12:30 PM   #88
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Hey Jinux75,

I see you have been quite active and getting a lot of help from other members, especially hazel, since my last visit to this thread. I won't repeat some of the good advice you've already gotten, but here are some comments to clarify certain issues you asked about that may not have been touched on yet:

Package manager cache and updating it

The package management system maintains a local database that it synchronises with on-line "repositories" when you issue the

Code:
#apt update
command. Then when you want to install something new, it will check this database to see if it is already installed and if not, whether it is available and if yes, offer to download and install it for you.

The package manager also keeps local copies of the "packages" used to install applications and other software in its cache. These packages are not the programs or applications themselves, but a normalized bundle used by your distro to install applications and software. The Windows equivalent would be a ".msi file". You can delete these packages once the installation is done without having any effect on the software that was installed. It is however good practice, in my opinion, to keep at least the last version or two of your packages in the local cache, to facilitate troubleshooting should you ever need to reinstall something while not on-line.

Installing stuff

Again, I highly recommend you stick to the package manager for adding or removing anything to and from your system. If you simply download tar.xz files of software and install manually, you will be forgoing several important advantages of the package management system (dependency management, amongst other things). The strengths of a particular distro is often judged in great part on the maturity of its package manager and the number of packages available in its repositories. You are missing out if not taking advantage of this technology.

Hope this helps :-)

Last edited by Rickkkk; 08-02-2017 at 12:31 PM.
 
Old 08-02-2017, 12:35 PM   #89
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
Hey Jinux75,

The package manager also keeps local copies of the "packages" used to install applications and other software in its cache. These packages are not the programs or applications themselves, but a normalized bundle used by your distro to install applications and software. The Windows equivalent would be a ".msi file". You can delete these packages once the installation is done without having any effect on the software that was installed. It is however good practice, in my opinion, to keep at least the last version or two of your packages in the local cache, to facilitate troubleshooting should you ever need to reinstall something while not on-line.

Installing stuff

Again, I highly recommend you stick to the package manager for adding or removing anything to and from your system. If you simply download tar.xz files of software and install manually, you will be forgoing several important advantages of the package management system (dependency management, amongst other things). The strengths of a particular distro is often judged in great part on the maturity of its package manager and the number of packages available in its repositories. You are missing out if not taking advantage of this technology.

Hope this helps :-)
Hey Rickkk thank you, i will try to use the manager, but some things are not in the manager that i do want to install. So i need to get it from somewhere else then the software manager. And nice to know that the packages can be deleted. I deleted some and nothing happend, so i thought oh well it works. The name cache is also giving it away ofcourse.

Last edited by Jinux75; 08-02-2017 at 12:37 PM.
 
Old 08-02-2017, 12:37 PM   #90
Rickkkk
Senior Member
 
Registered: Dec 2014
Location: Montreal, Quebec and Dartmouth, Nova Scotia CANADA
Distribution: Arch, AntiX, ArtiX
Posts: 1,364

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Quote:
Originally Posted by Jinux75 View Post
No GTK2 installed, so no sudoku, starting up the software manager to see if i can install it...

hmm. what is GTK ...
GTK (originally GIMP ToolKit) and its variants are shared libraries that are required for graphics management. A great number of GUI applications depend on it and will have it identified as a dependency in their installation package. If the software you are trying to run (Sudoku) is complaining about its absence, did you install Sudoku via your package manager ? If not, you have a good example of why it is not best practice to do that. If yes, it is somewhat surprising and I would recommend you trying to reinstall via the package manager.
 
  


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 08:26 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