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 03-13-2019, 04:16 PM   #16
ChuangTzu
Senior Member
 
Registered: May 2015
Location: Where ever needed
Distribution: Slackware/Salix while testing others
Posts: 1,718

Rep: Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857

This should be required reading if using Debian: https://wiki.debian.org/DontBreakDebian
 
2 members found this post helpful.
Old 03-16-2019, 10:44 AM   #17
dedec0
Senior Member
 
Registered: May 2007
Posts: 1,372

Original Poster
Rep: Reputation: 51
Quote:
Originally Posted by ondoho View Post
so what's wrong with
Code:
apt search keyword
???
I think I have never seen that command before. [ashamed] apt is a command that I consider to be something to do things *only* with advanced details, and this need makes it mostly unuseful for basic and simple "high level" uses, like those I always did with aptitude, synaptic, and packages.debian.org.

For example: to install "package", is fairly common to see the command 'apt-get install package' suggested around the web. But why the command is not 'apt install package'?? My guess is exactly what in the last paragraph: "apt is a command that I consider to be something to do things *only* with advanced details, and this need makes it mostly unuseful for basic and simple "high level" uses".
 
Old 03-17-2019, 01:37 PM   #18
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by dedec0 View Post
I think I have never seen that command before. [ashamed] apt is a command that I consider to be something to do things *only* with advanced details, and this need makes it mostly unuseful for basic and simple "high level" uses, like those I always did with aptitude, synaptic, and packages.debian.org.

For example: to install "package", is fairly common to see the command 'apt-get install package' suggested around the web. But why the command is not 'apt install package'?? My guess is exactly what in the last paragraph: "apt is a command that I consider to be something to do things *only* with advanced details, and this need makes it mostly unuseful for basic and simple "high level" uses".
interesting explanation.

fwiw, apt-get has a similar command - it's actually 'apt-cache search something' - and i'm sure aptitude & synaptic also have it.

the point here is, that there shoudln't be a need to search the debian web pages for a package that should be compatible with your current debian version & package management.
 
Old 03-17-2019, 03:15 PM   #19
dedec0
Senior Member
 
Registered: May 2007
Posts: 1,372

Original Poster
Rep: Reputation: 51
Interesting what you said in #18, ondoho. The existence of these several different commands (apt, apt-get, apt-cache, ...) is confuse. But my problem may have been just a wrongly configured system, as I have to check in what was said before #14.

I prefer to do a package first check in the website because it is faster, and it does not affect any file in my computer (note: no browser history). There is not many details to have restrictions on what can be done - I do not remember ever having one such thing, like a conflict of packages' contents, or other problems.
 
Old 03-18-2019, 03:25 PM   #20
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by dedec0 View Post
I prefer to do a package first check in the website because it is faster
no it isn't.
Quote:
and it does not affect any file in my computer
not true either.
an apt-cache search is just a search (read-only) of your apt cache.
opening a browser, visiting a web page, perform a search will definitely not only read, but also write files.

btw, this should be phrased better:
Quote:
Originally Posted by ondoho View Post
the point here is, that there shoudln't be a need to search the debian web pages for a package that should be compatible with your current debian version & package management.
the point here is, that there shouldn't be a need to search the debian web pages for a package.
because if that package is to be compatible with your system, your best bet is the data your package management provides.
anything else is just more error-prone.
 
1 members found this post helpful.
  


Reply

Tags
aptitude, debian, debian 9, dpkg, synaptic



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
grub-mkconfig sees both installed oses (deb & mint), but lists both as deb part. slacker_ Linux - General 14 06-22-2014 05:07 AM
unpack multiple deb files with dpkg-deb? steve51184 Linux - Software 2 02-13-2011 08:48 AM
How can I run this .deb file: install_flash_player_10_linux.deb abefroman Linux - Desktop 1 11-04-2009 10:02 AM
Is "kernel-image-x_i386.deb or i586.deb the right image for P4 processor? davidas Debian 1 04-06-2004 03:50 AM
Can apt4rpm use deb repositories or install .deb packages? raylpc Linux - General 0 08-18-2003 01:49 AM

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

All times are GMT -5. The time now is 05:49 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