package

If none of the more specific forums is the right place to ask

package

Postby linuly » 2018-07-18 10:28

hi,
with what command i can see what new packages are available?
linuly
 
Posts: 10
Joined: 2018-07-17 06:50

Re: package

Postby 4D696B65 » 2018-07-18 10:33

as root
Code: Select all
apt update
User avatar
4D696B65
 
Posts: 2220
Joined: 2009-06-28 06:09

Re: package

Postby arzgi » 2018-07-18 10:44

linuly wrote:hi,
with what command i can see what new packages are available?


You already asked this in other thread. There are no new packages in debian stable, only security updates.
arzgi
 
Posts: 389
Joined: 2008-02-21 17:03
Location: Finland

Re: package

Postby linuly » 2018-07-18 10:53

hi,
last thing.
how can i find in what package is tcpdump to install it?
tnx.
linuly
 
Posts: 10
Joined: 2018-07-17 06:50

Re: package

Postby arzgi » 2018-07-18 11:10

linuly wrote:hi,
last thing.
how can i find in what package is tcpdump to install it?
tnx.


Great you have chosen Debian, but it really would benefit you if you read something about Debian, so you would not have to ask questions like that here.

Debian has apt-package management, frontends to it are apt, apt-get, aptitude, and synaptic (gui). All those have search function. I use apt, and aptitude, so the procedure would be
Code: Select all
apt search tcpdump

as root:
Code: Select all
apt install tcpdump


OR
Code: Select all
aptitude search tcpdump

as root:
Code: Select all
aptitude install tcpdump
arzgi
 
Posts: 389
Joined: 2008-02-21 17:03
Location: Finland

Re: package

Postby linuly » 2018-07-18 16:02

hi,
I knew the answers to my questions but i liked to see other way to perform.
apt update -is not accurate(your reply).better apt list -u -a
apt search is fine.i used apt-file search.
better be polite next time or skip my questions.
linuly
 
Posts: 10
Joined: 2018-07-17 06:50

Re: package

Postby cds60601 » 2018-07-18 16:31

linuly wrote:hi,
I knew the answers to my questions but i liked to see other way to perform.
apt update -is not accurate(your reply).better apt list -u -a
apt search is fine.i used apt-file search.
better be polite next time or skip my questions.



I prefer this method:

Code: Select all
apt update


Then after the update, it tells you (or not) that there are files to be upgraded. If I want to see what is going to be upgraded, I type this:

Code: Select all
apt list --upgradable


This gives you a list of file to be upgraded. Of course the key is to ensure that you do an apt update first.

EDIT: I apparently got this thread confused with another... Disregard.

Cheers
Chris
Last edited by cds60601 on 2018-07-18 17:49, edited 1 time in total.
Yeah, 220, 221. Whatever it takes.
Server: Debian 9 (Stretch) Workstation: Archlinux
User avatar
cds60601
 
Posts: 136
Joined: 2017-11-25 05:58

Re: package

Postby GarryRicketson » 2018-07-18 17:45

Post by linuly » 2018-07-18 04:53
hi,
last thing.
how can i find in what package is tcpdump to install it?


what package for debian is tcpdump to install it?
Amazing, coincidence ?
First hit: https://packages.debian.org/jessie/tcpdump
Debian -- Details of package tcpdump in jessie - Debian -- Packages

Ok, now lesson 101, apply some logic:
Follow the link, https://packages.debian.org/jessie/tcpdump
But you say you are using the current "stable" version, which is Debian Stretch
Lesson 102, read all of the page carefully ,you will notice up in the upper right
side, there are options for various versions of Debian:
Select >click Debian stretch
https://packages.debian.org/stretch/tcpdump

Lesson 103:
Post by linuly » 2018-07-18 10:02
hi,
I knew the answers to my questions but i liked to see other way to perform.
apt update -is not accurate(your reply).better apt list -u -a
apt search is fine.i used apt-file search.
better be polite next time or skip my questions.

Nobody was rude, all the members that have offered help, were polite.
Don't accuse people willing to help you of being impolite , when they have not been. That is a good way to get every one to just skip your questions in the future.
Lesson 104: Don't be a help vampire,.
I knew the answers to my questions :mrgreen: ---snip--

When you actually know the answers to your questions, then why bother people asking them, ? Ahh, "but i liked to see other way to perform", that seems like a odd excuse, but by copy/pasting the question into a search engine usually will produce results, including "other ways", ....
Asking questions that are easily answered by reading the documentation for Debian, and/or doing some basic searches, often get answers that might seem
to not be polite, but in reality are polite, and just the plain truth, IE:
Post by arzgi » 2018-07-18 05:10
linuly wrote:
hi,
last thing.
how can i find in what package is tcpdump to install it?
tnx.

Great you have chosen Debian, but it really would benefit you if you read something about Debian, so you would not have to ask questions like that here.

As I demonstrated, the question could have easily been answered with a simple search, one can find the package, then it is a simple:
Code: Select all
apt install tcdump
(if it is not installed), To upgrade or update, later, is another topic, but there is also plenty of good documentation on this at debian.org and the wiki.
Before you tell me to be polite, I am being polite, and genuinely hope this helps you and others avoid being "help vampires" and getting answers that you do not consider polite.
If I wanted to be rude I could, but would not, I would just ignore the post instead of taking the time to politely try to help. But if I wanted to be rude,
I would just say : "RTFM, and if you don't know what that means, do a search."
===
I kind of like this, some one asked "what is a help vampire", instead of doing a search : https://meta.stackoverflow.com/questions/258206/what-is-a-help-vampire
====== end lessons 101 thru 104 ====
User avatar
GarryRicketson
 
Posts: 5193
Joined: 2015-01-20 22:16
Location: Durango, Mexico


Return to General Questions

Who is online

Users browsing this forum: stevepusser and 3 guests

fashionable