User Tools

Site Tools


qnote:ubuntu

Быстрые заметки по Ubuntu

Пользователи

Команда adduser проведет через диалог и сосздаст домшнюю папку и пароль.
Команда useradd просто заведет пользователя.

Поставить все видеокодеки

apt install ubuntu-restricted-extras

Netplan

root@rpki2:~# cd /etc/netplan/
root@rpki2:/etc/netplan# ll
total 12
drwxr-xr-x  2 root root 4096 Oct 29 08:37 ./
drwxr-xr-x 92 root root 4096 Oct 29 08:44 ../
-rw-r--r--  1 root root  207 Oct 29 08:37 00-installer-config.yaml
root@rpki2:/etc/netplan# cat 00-installer-config.yaml 
network:
  version: 2
  renderer: networkd
  ethernets:
    ens160:
      addresses:
      - 10.x.x.x/24
      gateway4: 10.x.x.1
      nameservers:
        addresses:
        - 8.8.8.8
        - 8.8.4.4

Отключить ipv6

motd

Настроить motd

Посмотреть motd

ufw

UFW это надстройка над iptables/netfilter которая призвана упросить процесс конфигурирования файрволла.
UFW в десктопных Ubuntu установлен по дефолту, но находится в выключенном состоянии.

Дефолтное поведение (implicit rules) ufw описывается в файле /etc/default/ufw.
Все прочие настройки хранятся в /etc/ufw/.

Команды управления:

  • ufw allow from x.x.x.x to any port 22 proto tcp - разрешить ssh с конкретного ip адреса
  • ufw status numbered - посмотреть пронумерованный список пользовательских правил

Посде включени ufw появляется некоторе дефолтных правил разрещающих dhcp, немного мультикаста и пр.
Надо быть внимательным когда включаешь ufw на публичном адресе.

Правила iptables после включения ufw.

Правила iptables после включения ufw.

root@ubuntu-19-1:/etc/ufw# iptables -S -P INPUT DROP -P FORWARD DROP -P OUTPUT ACCEPT -N ufw-after-forward -N ufw-after-input -N ufw-after-logging-forward -N ufw-after-logging-input -N ufw-after-logging-output -N ufw-after-output -N ufw-before-forward -N ufw-before-input -N ufw-before-logging-forward -N ufw-before-logging-input -N ufw-before-logging-output -N ufw-before-output -N ufw-logging-allow -N ufw-logging-deny -N ufw-not-local -N ufw-reject-forward -N ufw-reject-input -N ufw-reject-output -N ufw-skip-to-policy-forward -N ufw-skip-to-policy-input -N ufw-skip-to-policy-output -N ufw-track-forward -N ufw-track-input -N ufw-track-output -N ufw-user-forward -N ufw-user-input -N ufw-user-limit -N ufw-user-limit-accept -N ufw-user-logging-forward -N ufw-user-logging-input -N ufw-user-logging-output -N ufw-user-output -A INPUT -j ufw-before-logging-input -A INPUT -j ufw-before-input -A INPUT -j ufw-after-input -A INPUT -j ufw-after-logging-input -A INPUT -j ufw-reject-input -A INPUT -j ufw-track-input -A FORWARD -j ufw-before-logging-forward -A FORWARD -j ufw-before-forward -A FORWARD -j ufw-after-forward -A FORWARD -j ufw-after-logging-forward -A FORWARD -j ufw-reject-forward -A FORWARD -j ufw-track-forward -A OUTPUT -j ufw-before-logging-output -A OUTPUT -j ufw-before-output -A OUTPUT -j ufw-after-output -A OUTPUT -j ufw-after-logging-output -A OUTPUT -j ufw-reject-output -A OUTPUT -j ufw-track-output -A ufw-after-input -p udp -m udp –dport 137 -j ufw-skip-to-policy-input -A ufw-after-input -p udp -m udp –dport 138 -j ufw-skip-to-policy-input -A ufw-after-input -p tcp -m tcp –dport 139 -j ufw-skip-to-policy-input -A ufw-after-input -p tcp -m tcp –dport 445 -j ufw-skip-to-policy-input -A ufw-after-input -p udp -m udp –dport 67 -j ufw-skip-to-policy-input -A ufw-after-input -p udp -m udp –dport 68 -j ufw-skip-to-policy-input -A ufw-after-input -m addrtype –dst-type BROADCAST -j ufw-skip-to-policy-input -A ufw-after-logging-forward -m limit –limit 3/min –limit-burst 10 -j LOG –log-prefix “[UFW BLOCK] ” -A ufw-after-logging-input -m limit –limit 3/min –limit-burst 10 -j LOG –log-prefix “[UFW BLOCK] ” -A ufw-before-forward -m conntrack –ctstate RELATED,ESTABLISHED -j ACCEPT -A ufw-before-forward -p icmp -m icmp –icmp-type 3 -j ACCEPT -A ufw-before-forward -p icmp -m icmp –icmp-type 11 -j ACCEPT -A ufw-before-forward -p icmp -m icmp –icmp-type 12 -j ACCEPT -A ufw-before-forward -p icmp -m icmp –icmp-type 8 -j ACCEPT -A ufw-before-forward -j ufw-user-forward -A ufw-before-input -i lo -j ACCEPT -A ufw-before-input -m conntrack –ctstate RELATED,ESTABLISHED -j ACCEPT -A ufw-before-input -m conntrack –ctstate INVALID -j ufw-logging-deny -A ufw-before-input -m conntrack –ctstate INVALID -j DROP -A ufw-before-input -p icmp -m icmp –icmp-type 3 -j ACCEPT -A ufw-before-input -p icmp -m icmp –icmp-type 11 -j ACCEPT -A ufw-before-input -p icmp -m icmp –icmp-type 12 -j ACCEPT -A ufw-before-input -p icmp -m icmp –icmp-type 8 -j ACCEPT -A ufw-before-input -p udp -m udp –sport 67 –dport 68 -j ACCEPT -A ufw-before-input -j ufw-not-local -A ufw-before-input -d 224.0.0.251/32 -p udp -m udp –dport 5353 -j ACCEPT -A ufw-before-input -d 239.255.255.250/32 -p udp -m udp –dport 1900 -j ACCEPT -A ufw-before-input -j ufw-user-input -A ufw-before-output -o lo -j ACCEPT -A ufw-before-output -m conntrack –ctstate RELATED,ESTABLISHED -j ACCEPT -A ufw-before-output -j ufw-user-output -A ufw-logging-allow -m limit –limit 3/min –limit-burst 10 -j LOG –log-prefix “[UFW ALLOW] ” -A ufw-logging-deny -m conntrack –ctstate INVALID -m limit –limit 3/min –limit-burst 10 -j RETURN -A ufw-logging-deny -m limit –limit 3/min –limit-burst 10 -j LOG –log-prefix “[UFW BLOCK] ” -A ufw-not-local -m addrtype –dst-type LOCAL -j RETURN -A ufw-not-local -m addrtype –dst-type MULTICAST -j RETURN -A ufw-not-local -m addrtype –dst-type BROADCAST -j RETURN -A ufw-not-local -m limit –limit 3/min –limit-burst 10 -j ufw-logging-deny -A ufw-not-local -j DROP -A ufw-skip-to-policy-forward -j DROP -A ufw-skip-to-policy-input -j DROP -A ufw-skip-to-policy-output -j ACCEPT -A ufw-track-output -p tcp -m conntrack –ctstate NEW -j ACCEPT -A ufw-track-output -p udp -m conntrack –ctstate NEW -j ACCEPT -A ufw-user-input -s x.x.x.x/32 -p tcp -m tcp –dport 22 -j ACCEPT -A ufw-user-limit -m limit –limit 3/min -j LOG –log-prefix “[UFW LIMIT BLOCK] ” -A ufw-user-limit -j REJECT –reject-with icmp-port-unreachable -A ufw-user-limit-accept -j ACCEPT


Возвращаемся к iptables в Ubuntu Desktop

Останавливаем ufw.
Отключаем автоматический запуск и отключаем возможность ручного запуска.

root@ubuntu-20-1:~# systemctl stop ufw

root@ubuntu-20-1:~# systemctl disable ufw
Synchronizing state of ufw.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable ufw
Removed /etc/systemd/system/multi-user.target.wants/ufw.service.

root@ubuntu-20-1:~# systemctl mask ufw
Created symlink /etc/systemd/system/ufw.service → /dev/null.

Iptables входит в состав пакета iptables-persistent, ставим его.

root@ubuntu-20-1:~# apt-get install iptables-persistent

После установки в /etc/iptables/ появится файлы с правилами.
Приводим их к виду:

root@ubuntu-20-1:/etc/iptables# cat /etc/iptables/rules.v4 
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -p icmp -j ACCEPT
-A INPUT -i lo -j ACCEPT
#SSH
-A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT
#LAST_RULES
-A INPUT -j REJECT --reject-with icmp-host-prohibited
-A FORWARD -j REJECT --reject-with icmp-host-prohibited
COMMIT

Руками применяем правила.

root@ubuntu-20-1:/etc/iptables# iptables-restore < /etc/iptables/rules.v4

root@ubuntu-20-1:/etc/iptables# iptables -S
-P INPUT ACCEPT
-P FORWARD ACCEPT
-P OUTPUT ACCEPT
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -p icmp -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT
-A INPUT -j REJECT --reject-with icmp-host-prohibited
-A FORWARD -j REJECT --reject-with icmp-host-prohibited

Включаем автозагрузку iptables.

root@ubuntu-20-1:/etc/iptables# systemctl start iptables
root@ubuntu-20-1:/etc/iptables# systemctl enable iptables

Скрипты управления iptables.

Запуск файлролла или применение нового правила.

reload-firewall-rules.sh.sh
#!/bin/bash
 
echo "Reload iptables rules from file /etc/iptables/rules.v4" 
iptables-restore < /etc/iptables/rules.v4 
echo "Print current iptables rules." 
iptables -L -n 

Остановить файлролл.

stop-firewall.sh
#!/bin/bash
 
echo "Stopping firewall and allowing everyone..." 
iptables -F 
iptables -X 
iptables -P INPUT ACCEPT 
iptables -P FORWARD ACCEPT 
iptables -P OUTPUT ACCEPT 
echo "Print current iptables rules." 
iptables -L -n

Переключение раскладки

На одной Ubuntu 16.04 стандартными средствами не ставилась комбинация переключения Shift-Ctrl, все время в комбинацию добавлялся какой-то Mod2.
Решение - поменять комбинацию через dconf-editor.

dconf-editor → org → gnome → desktop → wm → keybindings → switch-input-source → ставим ['<Shift>Control_L'].

На Ubuntu 20.04 этот метод не сраборал.
Есть второй способ, задать комбинацию в gnome-tweaks.
Ставим командой “apt-get install gnome-tweaks”.
Запускаем в терминале, далее “Keyboard & Mouse” → “Additional Layout Options” → “Switching to another layout” → “Ctrl+Shift”.

Secondary ip address

Второй ip адрес на интерфейсе в Ubuntu можно прописать в файле “/etc/network/interfaces”.

auto eth2 eth2:1
iface eth2 inet static
        address 10.11.2.47
        netmask 255.255.252.0
        gateway 10.11.0.1
        dns-nameservers 10.10.0.10 9.9.9.10

iface eth2:1 inet static
        address 10.11.2.222
        netmask 255.255.252.0

NTP сервер

Установка.

# apt-get update
# apt-get install ntp

Конфиг сервера будет в файле “/etc/ntp.conf”

По желанию правим серверы с которых будем брать время.
На случай проблем с dns один из ntp серверов прописываем ip адресом (в данном случаем это ntp.ix.ru).

server ntp2.vniiftri.ru
server 0.ubuntu.pool.ntp.org
server 1.ubuntu.pool.ntp.org
server 2.ubuntu.pool.ntp.org
server 3.ubuntu.pool.ntp.org
server 194.190.168.1

# Use Ubuntu's ntp server as a fallback.
server ntp.ubuntu.com

Задаем адреса на которых сервер будет слушать обращения.
Настройка “ignore wildcard” отключает ntp сервер на адресе “0.0.0.0”.

# Specify listen ip addresses.

interface ignore wildcard   
interface listen 127.0.0.1  
interface listen 10.11.2.222

Перезапускаем сервер

# service ntp restart

Смотрим на сервера с которыми установили связь.

# ntpq -p
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 ntp2.vniiftri.r .MRS.            1 u   43   64    1    5.865   -0.073   0.000
 cello.corbina.n 194.58.202.20    2 u   42   64    1    3.358    0.412   0.000
 23.105.225.212  194.190.168.1    2 u   41   64    1    2.621    0.347   0.000
 web.indico.ru   78.140.251.2     3 u   40   64    1   14.959   -5.104   0.000
 bagnikita.com   89.109.251.23    2 u   39   64    1    3.224    1.571   0.000
 ntp.ix.ru       .GPS.            1 u   38   64    1   52.200    1.276   0.000
 alphyn.canonica 132.246.11.231   2 u   37   64    1  122.311    1.047   0.000

Статический роут

Перманентные статические роуты в Ubuntu можно прописать в файле “/etc/network/interfaces”.
В секции описывающий настройки интерфейса добавляем строчку:

up route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.40.2.1

В итоге будет как-то так:

root@brv-umx12:~# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

auto pci1-p2
iface pci1-p2 inet static
	address 10.40.2.27
	netmask 255.255.255.0
	network 10.40.2.0
	broadcast 10.40.2.255
	gateway 10.40.2.31
	dns-nameserver 8.8.8.8
	up route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.40.2.1

Дальше перегружаемся или перезапускаем сеть.

root@brv-umx12:~# /etc/init.d/networking restart
[ ok ] Restarting networking (via systemctl): networking.service.

Посмотреть линк на интерфейсе

root@t21:~# ll /sys/class/net
total 0
drwxr-xr-x  2 root root 0 Dec  4 16:18 ./
drwxr-xr-x 62 root root 0 Dec  4 16:18 ../
lrwxrwxrwx  1 root root 0 Dec  4 16:18 eth0 -> ../../devices/pci0000:00/0000:00:1c.0/0000:04:00.0/0000:05:00.0/net/eth0/
lrwxrwxrwx  1 root root 0 Dec  4 16:18 eth1 -> ../../devices/pci0000:00/0000:00:02.0/0000:06:00.0/0000:07:00.0/0000:08:00.0/0000:09:00.0/net/eth1/
lrwxrwxrwx  1 root root 0 Dec  4 16:18 eth2 -> ../../devices/pci0000:00/0000:00:06.0/0000:0e:00.0/net/eth2/
lrwxrwxrwx  1 root root 0 Dec  4 16:18 eth3 -> ../../devices/pci0000:00/0000:00:06.0/0000:0e:00.1/net/eth3/
lrwxrwxrwx  1 root root 0 Dec  4 16:18 lo -> ../../devices/virtual/net/lo/
root@t21:~# cat /sys/class/net/eth0/operstate
up
root@t21:~# cat /sys/class/net/eth0/
addr_assign_type   carrier            dev_port           gro_flush_timeout  link_mode          operstate          power/             subsystem/         
address            carrier_changes    dormant            ifalias            mtu                phys_port_id       queues/            tx_queue_len       
addr_len           device/            duplex             ifindex            name_assign_type   phys_port_name     speed              type               
broadcast          dev_id             flags              iflink             netdev_group       phys_switch_id     statistics/        uevent           

CredSSP и rdesktop

При подключении rdesktop к терминальному серверу под управлением Windows Server 2012 R2 Standart вылезала ошибка вида:

kostya@blackpc:~$ rdesktop ts42.company.name
ERROR: CredSSP: Initialize failed, do you have correct kerberos tgt initialized ?
Failed to connect, CredSSP required by server.

Проблема хорошо описана в блоге (pdf) компании Syskit.

FIXME Вчитаться и сформулировать, как я понял требуется керберос который на линуксе не сконфигурен. FIXME

Пошел по самому простому пути - использую freerdp в составе пакета remmina.

Установка:

root@blackpc:~# apt-get install remmina
...
The following NEW packages will be installed:
  remmina remmina-plugin-rdp remmina-plugin-vnc
0 upgraded, 3 newly installed, 0 to remove and 66 not upgraded.

Дальше запускаем графическую оболочку remmina и работаем.

FIXME Запустить чистый FreeRDP

Отображение файлов\папок списком в Nautilus

По дефолту в nautilus файлы и папки отображаются в виде иконок\плитки, это почти всегда не удобно.
Поменять дефолтные настройки из gui пока нельзя, есть некий баг.
Но можно поменять из консоли:

kostya@blackpc:~$ gsettings set org.gnome.nautilus.preferences default-folder-viewer 'list-view'

Там же, по ссылке, есть команды меняющие дефотную сортировку.

Классический gnome

Ставим пакет gnome-session-flashback

root@aee3:~# apt-get install gnome-session-flashback

Разлогиниваемся.
В окошке ввода пароля, напротив login, появится значек ubuntu.
Нажимаем на него и выбираем режим работы, я работаю в “GNOME Flashback (Metacity)”.

Появляются любимые панели, что бы добавить на них виджет надо кликнуть по ним с альтом (Alt+Right-Click).
Что бы подвинуть виджет на него так же надо кликнуть правой кнопкой с альтом, появится “Move”.


APT

APT (Advanced Packaging Tool) это пакетный менеджер используемый в debian-подобных ОС. Можно ставить, удалять пакеты, просматривать информацию по пакетам и пр.

Работа с кешем APT

Информация о доступных пакетах находится в кэше APT.
Запросы к кешу делаются командой apt-cache для которой можно задать следующие ключи:

  • search - поиск пакетов в кеше.
  • show - посмотреть информацию о пакетах
  • depends - посмотреть зависимости пакета
  • rdepends - посмотреть обратные :?: зависимости пакета

apt-cache search

apt-cache search

root@aee3:~# apt-cache search youtube
grilo-plugins-0.2-base - Framework for discovering and browsing media - Base Plugins
libquvi-dev - library for parsing video download links (development package)
libquvi-doc - library for parsing video download links (documentation package)
libquvi-scripts - library for parsing video download links (Lua scripts)
libquvi7 - library for parsing video download links (runtime libraries)
totem-plugins - Plugins for the Totem media player
cclive - lightweight command line video extraction tool
gcap - YouTube closed caption retriever
get-flash-videos - video downloader for various Flash-based video hosting sites
gpodder - podcast client and feed aggregator
groovebasin - music player server with a web-based user interface
jarisplayer - flash video and audio player for embedding into a web page
libgdata-cil-dev - Google GData CLI client library
libgdata2.1-cil - Google GData CLI client library
libtomahawk - Core libraries for tomahawk
libtomahawk-dev - Core libraries for tomahawk – development files
libwebservice-youtube-perl - Perl module that provides an interface to YouTube services
libwww-youtube-download-perl - module for downloading video from YouTube
livestreamer - CLI that pipes video streams to video players
minitube - Native YouTube client
mlbviewer - Curses interface to the MLB.TV media offering
monodoc-gdata-manual - compiled XML documentation for GData
mopidy-youtube - Mopidy extension for playing music from YouTube
mps-youtube - Terminal based YouTube jukebox with playlist management
nicovideo-dl - Download videos from www.nicovideo.jp
node-ytdl-core - YouTube video downloader - Node.js module
nomnom - download videos from Youtube and other similar video websites
openshot - Create and edit videos and movies
python-gdata - Google Data Python client library
python-gdata-doc - Google Data Python client library, documentation and examples
python-livestreamer - library to extract video streams from various services - Python 2
python-livestreamer-doc - library to extract video streams from various services - documentation
python-sphinxcontrib.youtube - Sphinx "YouTube" extension
python3-livestreamer - library to extract video streams from various services - Python 3
python3-pafy - Download videos and retrieve metadata from YouTube
python3-sphinxcontrib.youtube - Sphinx "YouTube" extension
quvi - command line program to extract video download links
ruby-nprogress-rails - nprogress slim progress bar for rails applications
smtube - YouTube videos browser
tomahawk - Multi source music playerunity-webapps-youtube - Unity Webapp for YouTube
youtube-dl - downloader of videos from YouTube and other sites

apt-cache show

apt-cache show

root@aee3:~# apt-cache show youtube-dl
Package: youtube-dl
Priority: extra
Section: universe/web
Installed-Size: 3444
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Rogério Brito <rbrito@ime.usp.br>
Architecture: all
Version: 2016.02.22-1
Depends: python-pkg-resources, python:any (<< 2.8), python:any (>= 2.7.5-5~)
Recommends: aria2 | wget | curl, ffmpeg | libav-tools, mpv | mplayer | mplayer2, rtmpdump
Filename: pool/universe/y/youtube-dl/youtube-dl_2016.02.22-1_all.deb
Size: 643534
MD5sum: 9099082a91719f2772c52baa193a0e64
SHA1: e9d26c99799c7871af640ca9b3521412155ad849
SHA256: a397543aa8be838cd6e45b951b0cae7818e2858645542952059c1b838fd41f4a
Description-en: downloader of videos from YouTube and other sites
 youtube-dl is a small command-line program to download videos from
 YouTube.com and other sites that don't provide direct links to the
 videos served.
 .
 youtube-dl allows the user, among other things, to choose a specific video
 quality to download (if available) or let the program automatically
 determine the best (or worst) quality video to grab. It supports
 downloading entire playlists and all videos from a given user.
 .
 Currently supported sites (or features of sites) are:
 .
 1tv, 1up.com, 20min, 220.ro, 22tracks:genre, 22tracks:track, 24video, 3sat,
 4tube, 56.com, 5min, 8tracks, 91porn, 9gag, abc.net.au, Abc7News,
 AcademicEarth:Course, acast, acast:channel, AddAnime, AdobeTV,
 AdobeTVChannel, AdobeTVShow, AdobeTVVideo, AdultSwim, aenetworks,
 Aftonbladet, AirMozilla, AlJazeera, Allocine, AlphaPorno, AnimeOnDemand,
 anitube.se, AnySex, Aparat, AppleConnect, AppleDaily, appletrailers,
 appletrailers:section, archive.org, ARD, ARD:mediathek, ARD:mediathek,
 arte.tv, arte.tv:+7, arte.tv:cinema, arte.tv:concert, arte.tv:creative,
 arte.tv:ddc, arte.tv:embed, arte.tv:future, arte.tv:magazine, AtresPlayer,
 ATTTechChannel, AudiMedia, audiomack, audiomack:album, Azubu, AzubuLive,
 BaiduVideo, bambuser, bambuser:channel, Bandcamp, Bandcamp:album, bbc,
 bbc.co.uk, bbc.co.uk:article, BeatportPro, Beeg, BehindKink, Bet, Bigflix,
 Bild, BiliBili, BleacherReport, BleacherReportCMS, blinkx, Bloomberg, Bpb,
 BR, Break, brightcove:legacy, brightcove:new, bt:article, bt:vestlendingen,
 BuzzFeed, BYUtv, Camdemy, CamdemyFolder, canalc2.tv, Canalplus, Canvas,
 CBC, CBCPlayer, CBS, CBSNews, CBSNewsLiveVideo, CBSSports, CeskaTelevize,
 channel9, Chaturbate, Chilloutzone, chirbit, chirbit:profile, Cinchcast,
 Cinemassacre, Clipfish, cliphunter, Clipsyndicate, cloudtime, Cloudy,
 Clubic, Clyp, cmt.com, CNET, CNN, CNNArticle, CNNBlogs, CollegeHumor,
 CollegeRama, ComCarCoff, ComedyCentral, ComedyCentralShows, CommonMistakes,
 CondeNast, Cracked, Crackle, Criterion, CrooksAndLiars, Crunchyroll,
 crunchyroll:playlist, CSpan, CtsNews, culturebox.francetvinfo.fr,
 CultureUnplugged, CWTV, dailymotion, dailymotion:playlist,
 dailymotion:user, DailymotionCloud, daum.net, daum.net:clip,
 daum.net:playlist, daum.net:user, DBTV, DCN, dcn:live, dcn:season,
 dcn:video, DctpTv, DeezerPlaylist, defense.gouv.fr, democracynow, DHM,
 Digiteka, Discovery, Dotsub, DouyuTV, DPlay, dramafever, dramafever:series,
 DRBonanza, Dropbox, DrTuber, DRTV, Dump, Dumpert, dvtv, EaglePlatform,
 EbaumsWorld, EchoMsk, eHow, Einthusan, eitb.tv, EllenTV, EllenTV:clips,
 ElPais, Embedly, EMPFlix, Engadget, Eporner, EroProfile, Escapist, ESPN,
 EsriVideo, Europa, EveryonesMixtape, exfm, ExpoTV, ExtremeTube, facebook,
 facebook:post, faz.net, fc2, Fczenit, fernsehkritik.tv, Firstpost, FiveTV,
 Flickr, Folketinget, FootyRoom, FOX, Foxgay, FoxNews, FoxSports,
 france2.fr:generation-quoi, FranceCulture, FranceCultureEmission,
 FranceInter, francetv, francetvinfo.fr, Freesound, freespeech.org,
 FreeVideo, Funimation, FunnyOrDie, GameInformer, Gamekings, GameOne,
 gameone:playlist, Gamersyde, GameSpot, GameStar, Gametrailers, Gazeta,
 GDCVault, generic, Gfycat, GiantBomb, Giga, Glide, Globo, GloboArticle,
 GodTube, GoldenMoustache, Golem, GoogleDrive, Goshgay, GPUTechConf,
 Groupon, Hark, HearThisAt, Heise, HellPorno, Helsinki, HentaiStigma,
 HistoricFilms, hitbox, hitbox:live, HornBunny, HotNewHipHop, HotStar,
 Howcast, HowStuffWorks, HuffPost, Hypem, Iconosquare, ign.com, imdb,
 imdb:list, Imgur, ImgurAlbum, Ina, Indavideo, IndavideoEmbed, InfoQ,
 Instagram, instagram:user, InternetVideoArchive, IPrima, iqiyi, Ir90Tv,
 ivi, ivi:compilation, ivideon, Izlesene, JadoreCettePub, JeuxVideo, Jove,
 jpopsuki.tv, JWPlatform, Kaltura, KanalPlay, Kankan, Karaoketv,
 KarriereVideos, keek, KeezMovies, KhanAcademy, KickStarter,
 KonserthusetPlay, kontrtube, KrasView, Ku6, kuwo:album, kuwo:category,
 kuwo:chart, kuwo:mv, kuwo:singer, kuwo:song, la7.tv, Laola1Tv, Lecture2Go,
 Lemonde, Letv, LetvCloud, LetvPlaylist, LetvTv, Libsyn, life:embed,
 lifenews, limelight, limelight:channel, limelight:channel_list, LiveLeak,
 livestream, livestream:original, livestream:shortener, LnkGo, LoveHomePorn,
 lrt.lt, lynda, lynda:course, m6, macgamestore, mailru, MakerTV, Malemotion,
 MatchTV, MDR, media.ccc.de, metacafe, Metacritic, Mgoon, Minhateca,
 MinistryGrid, miomio.tv, MiTele, mixcloud, MLB, MoeVideo, Mofosex,
 Mojvideo, Moniker, mooshare, Morningstar, Motherless, Motorsport,
 MovieClips, MovieFap, Moviezine, MPORA, MSNBC, MTV, mtv.de, mtviggy.com,
 mtvservices:embedded, MuenchenTV, MusicPlayOn, muzu.tv, Mwave, MySpace,
 MySpace:album, MySpass, Myvi, myvideo (CURRENTLY BROKEN), MyVidster,
 n-tv.de, NationalGeographic, Naver, NBA, NBC, NBCNews, NBCSports,
 NBCSportsVPlayer, ndr, ndr:embed, ndr:embed:base, NDTV, NerdCubedFeed,
 Nerdist, netease:album, netease:djradio, netease:mv, netease:playlist,
 netease:program, netease:singer, netease:song, Netzkino, Newgrounds,
 Newstube, NextMedia, NextMediaActionNews, nextmovie.com, nfb, nfl.com,
 nhl.com, nhl.com:news, nhl.com:videocenter, nick.com, niconico,
 NiconicoPlaylist, njoy, njoy:embed, Noco, Normalboots, NosVideo, Nova,
 novamov, nowness, nowness:playlist, nowness:series, NowTV (CURRENTLY
 BROKEN), NowTVList, nowvideo, Noz, npo, npo.nl:live, npo.nl:radio,
 npo.nl:radio:fragment, Npr, NRK, NRKPlaylist, NRKTV, ntv.ru, Nuvid,
 NYTimes, NYTimesArticle, ocw.mit.edu, Odnoklassniki, OktoberfestTV,
 on.aol.com, OnionStudios, Ooyala, OoyalaExternal, OraTV, orf:fm4, orf:iptv,
 orf:oe1, orf:tvthek, pandora.tv, parliamentlive.tv, Patreon, pbs, pcmag,
 Periscope, PhilharmonieDeParis, phoenix.de, Photobucket, Pinkbike,
 Pladform, PlanetaPlay, play.fm, played.to, PlaysTV, Playtvak, Playvid,
 Playwire, pluralsight, pluralsight:course, plus.google, pluzz.francetv.fr,
 podomatic, PornHd, PornHub, PornHubPlaylist, PornHubUserVideos, Pornotube,
 PornoVoisines, PornoXO, PrimeShareTV, PromptFile, prosiebensat1, Puls4,
 Pyvideo, qqmusic, qqmusic:album, qqmusic:playlist, qqmusic:singer,
 qqmusic:toplist, QuickVid, R7, radio.de, radiobremen, radiofrance,
 RadioJavan, Rai, RaiTV, RBMARadio, RDS, RedTube, RegioTV, Restudy,
 ReverbNation, Revision3, RingTV, RottenTomatoes, Roxwel, RTBF, rte,
 rte:radio, rtl.nl, RTL2, RTP, RTS, rtve.es:alacarta, rtve.es:infantil,
 rtve.es:live, RTVNH, RUHD, RulePorn, rutube, rutube:channel, rutube:embed,
 rutube:movie, rutube:person, RUTV, Ruutu, safari, safari:course, Sandia,
 Sapo, savefrom.net, SBS, schooltv, SciVee, screen.yahoo:search, Screencast,
 ScreencastOMatic, ScreenJunkies, ScreenwaveMedia, SenateISVP, ServingSys,
 Sexu, SexyKarma, Shahid, Shared, ShareSix, Sina, skynewsarabia:video,
 skynewsarabia:video, Slideshare, Slutload, smotri, smotri:broadcast,
 smotri:community, smotri:user, SnagFilms, SnagFilmsEmbed, Snotr, Sohu,
 soundcloud, soundcloud:playlist, soundcloud:search, soundcloud:set,
 soundcloud:user, soundgasm, soundgasm:profile, southpark.cc.com,
 southpark.cc.com:español, southpark.de, southpark.nl, southparkstudios.dk,
 Space, SpankBang, Spankwire, Spiegel, Spiegel:Article, Spiegeltv, Spike,
 Sport5, SportBox, SportBoxEmbed, SportDeutschland, Sportschau, SRGSSR,
 SRGSSRPlay, SSA, stanfordoc, Steam, Stitcher, streamcloud.eu, StreamCZ,
 StreetVoice, SunPorno, SVT, SVTPlay, SWRMediathek, Syfy, SztvHu,
 Tagesschau, Tapely, Tass, teachertube, teachertube:user:collection,
 TeachingChannel, Teamcoco, TeamFour, TechTalks, techtv.mit.edu, ted,
 Tele13, TeleBruxelles, Telecinco, Telegraaf, TeleMB, TeleTask, TenPlay,
 TestURL, TF1, TheIntercept, TheOnion, ThePlatform, ThePlatformFeed,
 TheSixtyOne, ThisAmericanLife, ThisAV, THVideo, THVideoPlaylist, tinypic,
 tlc.de, TMZ, TMZArticle, TNAFlix, toggle, tou.tv, Toypics, ToypicsUser,
 TrailerAddict (CURRENTLY BROKEN), Trilulilu, trollvids, TruTube, Tube8,
 TubiTv, tudou, tudou:album, tudou:playlist, Tumblr, tunein:clip,
 tunein:program, tunein:shortener, tunein:station, tunein:topic, Turbo,
 Tutv, tv.dfb.de, TV2, TV2Article, TV4, TVC, TVCArticle, tvigle, tvland.com,
 tvp.pl, tvp.pl:Series, TVPlay, Tweakers, twitch:bookmarks, twitch:chapter,
 twitch:past_broadcasts, twitch:profile, twitch:stream, twitch:video,
 twitch:vod, twitter, twitter:amplify, twitter:card, Ubu, udemy,
 udemy:course, UDNEmbed, UnicodeBOM, Unistra, Urort, ustream,
 ustream:channel, Varzesh3, Vbox7, VeeHD, Veoh, Vessel, Vesti, Vevo, VGTV,
 vh1.com, Vice, Viddler, video.google:search, video.mit.edu, VideoDetective,
 videofy.me, VideoMega (CURRENTLY BROKEN), videomore, videomore:season,
 videomore:video, VideoPremium, VideoTt (CURRENTLY BROKEN), videoweed,
 vidme, vidme:user, vidme:user:likes, Vidzi, vier, vier:videos, Viewster,
 Viidea, viki, viki:channel, vimeo, vimeo:album, vimeo:channel, vimeo:group,
 vimeo:likes, vimeo:review, vimeo:user, vimeo:watchlater, Vimple, Vine,
 vine:user, vk, vk:uservideos, vlive, Vodlocker, VoiceRepublic, Vporn, vpro,
 VRT, vube, VuClip, vulture.com, Walla, WashingtonPost, wat.tv,
 WayOfTheMaster, WDR, wdr:mobile, WDRMaus, WebOfStories,
 WebOfStoriesPlaylist, Weibo, WeiqiTV, wholecloud, Wimp, Wistia, WNL,
 WorldStarHipHop, wrzuta.pl, WSJ, XBef, XboxClips, XFileShare, XHamster,
 XHamsterEmbed, XMinus, XNXX, Xstream, XTube, XTubeUser, Xuite, XVideos,
 XXXYMovies, Yahoo, Yam, yandexmusic:album, yandexmusic:playlist,
 yandexmusic:track, YesJapan, yinyuetai:video, Ynet, YouJizz, youku,
 YouPorn, YourUpload, youtube, youtube:channel, youtube:favorites,
 youtube:history, youtube:playlist, youtube:playlists, youtube:recommended,
 youtube:search, youtube:search:date, youtube:search_url, youtube:show,
 youtube:subscriptions, youtube:truncated_id, youtube:truncated_url,
 youtube:user, youtube:watchlater, Zapiks, ZDF, ZDFChannel, zingmp3:album,
 zingmp3:song, ZippCast
Description-md5: 26e4ffa66f541a7d0f35c8f7a62a2d56
Homepage: https://rg3.github.com/youtube-dl/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y
Task: ubuntukylin-desktop

apt-cache depends

apt-cache depends

root@aee3:~# apt-cache depends youtube-dl
youtube-dl
  Depends: python-pkg-resources
  Depends: <python:any>
    python:i386
    python
  Depends: <python:any>
    python:i386
    python
 |Recommends: aria2
 |Recommends: wget
    wget:i386
  Recommends: curl
    curl:i386
 |Recommends: ffmpeg
    ffmpeg:i386
  Recommends: libav-tools
 |Recommends: mpv
    mpv:i386
 |Recommends: mplayer
    mplayer:i386
  Recommends: mplayer2
  Recommends: rtmpdump

apt-cache rdepends

apt-cache rdepends

root@aee3:~# apt-cache rdepends youtube-dl
youtube-dl
Reverse Depends:
  libmpv1
  mpv
  lives
  freevo
  gnome-mpv
qnote/ubuntu.txt · Last modified: 2021/10/14 10:20 by k

Page Tools