There is no "firefox-esr" package when I try to search for it using apt-cache search firefox-esr
. This is surprising because Debian stable has a firefox-esr package. Is there a reason why Ubuntu does not include the firefox-esr package in its official repositories?
Flux's questions
What is the difference between the zsh and zsh-static packages? Why are there two ZSH packages? Which one should I install if I want to use ZSH as my shell?
(Ubuntu version: 20.04 focal fossa).
On my Ubuntu server, I am running an SSH server (port 22). I want to set up UFW such that all incoming connections are blocked, except through port 12345. External traffic arriving at port 12345 should be forwarded to port 22. How do I set this up using UFW?
Note that I want the SSH daemon's listening port to remain at port 22, because I do not want to run an SSH server on a non-privileged port (12345).
Is there an implementation of the classic ELIZA AI chat program that can be used on Ubuntu? I am looking for an ELIZA that can be used from the command line.
On a fresh install of Ubuntu 20.04.1, I tried to install wine32 (sudo apt-get install wine32
). However, there is an error: E: Package 'wine32' has no installation candidate
. How can this be?
$ sudo apt-get update
...
$ sudo apt-get install wine32
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package wine32 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libwine
E: Package 'wine32' has no installation candidate
I need wine32
to run a 32 bit Windows executable.
I was looking at the package intel-microcode
. According to the changelog, the most recent versions of this package for Ubuntu 18.04 (bionic) are 3.20201110.0ubuntu0.18.04.2
and 3.20200609.0ubuntu0.18.04.1
. However, the latter is missing when I search using apt-cache:
apt-cache policy intel-microcode
shows:
intel-microcode:
Installed: 3.20201110.0ubuntu0.18.04.2
Candidate: 3.20201110.0ubuntu0.18.04.2
Version table:
*** 3.20201110.0ubuntu0.18.04.2 500
500 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
500 http://archive.ubuntu.com/ubuntu bionic-security/main amd64 Packages
100 /var/lib/dpkg/status
3.20180312.0~ubuntu18.04.1 500
500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
apt-cache madison intel-microcode
shows:
intel-microcode | 3.20201110.0ubuntu0.18.04.2 | http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
intel-microcode | 3.20201110.0ubuntu0.18.04.2 | http://archive.ubuntu.com/ubuntu bionic-security/main amd64 Packages
intel-microcode | 3.20180312.0~ubuntu18.04.1 | http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
Why is intel-microcode
version 3.20200609.0ubuntu0.18.04.1
missing? How do I install it?
I usually search for packages using apt-cache
(e.g. apt-cache search 'flash player'
) or by using the search functionality on https://packages.ubuntu.com.
Now suppose I wish to search the package list of an old Ubuntu release such as Ubuntu 12.04 LTS Precise Pangolin. How can I do it? apt-cache search ...
only searches the packages available for the version of Ubuntu I am using. https://packages.ubuntu.com only searches a few of the latest releases.
I suppose I could download the package list from http://archive.ubuntu.com/ubuntu/dists/precise/main/binary-amd64/, but what do I do with the package list to be able to search it? I prefer using something similar to apt-cache search ...
, but I do not want to mess up my existing packages just because I want to search an old package list.
Suppose I want to use some GUI programs that were provided in an old release of Ubuntu. I am currently using a later version of Ubuntu that does not provide these GUI programs. Is there a reliable way install these old programs without messing up my existing packages, and without having to use virtualization (e.g. VirtualBox)?
I have read this question: How do I install Qtstalker on Ubuntu 17.10?, which is about installing Qtstalker, a program that was available in Ubuntu 12.04 Precise Pangolin, but which has been removed from later Ubuntu releases because the upstream has ceased development. The answer there uses chroot
. I am wondering: is the method generally applicable to other programs too? Is chroot the proper and usual solution to the problem?
Suppose I want to play XBattle, which was available in Ubuntu 12.04 Precise Pangolin, but was subsequently removed. Should I use chroot
to play it in Ubuntu 18.04 Bionic Beaver?
I read https://packaging.ubuntu.com/html/chroots.html, but the page seems to imply that chroot is a packaging tool rather than something that one would use for running programs regularly.
Other answers suggesting a chroot solution to such problems: The packages for old releases are not available anymore?
Is there a clipboard management GUI where I can view the images in the clipboard and choose to save any of them to a file, all without using the command line?
I know how to save copied images to file using the command line (xclip -selection clipboard -t image/png -o > mypic.png
), but I'm looking for a pure GUI solution. I tried copyq but it does not have any option of saving images through its GUI.
I am using a random mix of desktop environments, so I require a desktop environment-agnostic solution.
Is there a day and night world map + clock available in the Ubuntu repositories?
It should show the regions of the earth covered by sunlight. For example:
Image author: Clonodin. Image license: CC BY-SA 4.0 International. Image source: https://commons.wikimedia.org/wiki/File:Geochron_20180207_at_office.jpg
Is there a command line program that takes a file containing English text, analyzes the text, and outputs its readability scores?
For example, if one feeds the program a text, the program should output the Flesch-Kincaid grade level, McLaughlin's SMOG grading, etc.
I believe such a program exists in the official repositories, but I cannot remember its name. There's also the possibility that I am misremebering.
I have just installed exim4
, and my /etc/hosts
file looks like this:
127.0.0.1 localhost
127.0.1.1 mycomputer
192.168.100.5 rpi.mydomain.com
However, when I run exim -bt [email protected]
to test deliverability, it says:
R: dnslookup for [email protected]
[email protected] is undeliverable
It appears that Exim is not using the entries in /etc/hosts
to resolve domain name. To fix the problem, I added this to /etc/exim4/conf.d/router/200_exim4-config_primary
before all other router entries:
mycustomlookup:
debug_print = "R: mycustomlookup for $local_part@$domain"
driver = manualroute
transport = remote_smtp
route_list=rpi.mydomain.com 192.168.100.5
Problem solved. exim -bt [email protected]
:
R: mycustomlookup for [email protected]
[email protected]
router = mycustomlookup, transport = remote_smtp
host 192.168.100.5 [192.168.100.5]
The problem now is that I don't want to have to manually edit the Exim configuration every time I change the entries in /etc/hosts
. Is there a way to make Exim use /etc/hosts
to resolve domain names?