How to install iptables-legacy on RHEL8 [closed] - iptables

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 months ago.
Improve this question
I want to install this package for iptables-legacy on my RHEL 8 instance: https://fedora.pkgs.org/rawhide/fedora-aarch64/iptables-legacy-1.8.8-3.fc37.aarch64.rpm.html
When I do dnf install iptables-legacy , it returns an error saying the package can't be found.
I guess I need to add a new repository ( https://fedora.pkgs.org/rawhide/fedora-aarch64), using dnf install ... but not sure how to get the details of this repo?

Fedora 28 is RHEL 8 upstream per: https://docs.fedoraproject.org/en-US/quick-docs/fedora-and-red-hat-enterprise-linux/index.html
To install iptables v1.6.2
microdnf update && microdnf install -y dnf
dnf install -y https://dl.fedoraproject.org/pub/archive/fedora/linux/releases/28/Everything/x86_64/os/Packages/i/iptables-libs-1.6.2-2.fc28.x86_64.rpm
dnf install -y https://dl.fedoraproject.org/pub/archive/fedora/linux/releases/28/Everything/x86_64/os/Packages/i/iptables-1.6.2-2.fc28.x86_64.rpm

Related

Deepin Desktop Environment on WSL2 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I know its early to ask but has anybody out there had any luck running latest Deepin Desktop Environment (DDE) on WSL2 like you can run xfce4 through an X-server like Xming or VcXsrv?
Starting from Ubuntu 20.04:
sudo add-apt-repository ppa:ubuntudde-dev/stable
sudo apt update
sudo apt upgrade
sudo apt install ubuntudde-dde
sudo service dbus start
To display using rdp:
sudo apt-get install xrdp
sudo /etc/init.d/xrdp start
To display using X11:
export DISPLAY=[DISPLAY IP]:[DISPLAY NUMBER].0
deepin-session

'abrt-cli status' timed out when login to SSH [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
The community reviewed whether to reopen this question 7 months ago and left it closed:
Original close reason(s) were not resolved
Improve this question
Environment
Red Hat Enterprise Linux 7.7
abrt-cli version 2.1.11
Solution
~$ sudo rm -rf .cache
re-login
~$ sudo rm -rf .cache
Then re-login.

Blank screen after login ubuntu 16.04? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I got Blank screen while login with correct id and password.
Tried the following solution, still blank screen.
Ubuntu 16.04 + Nvidia Driver = Blank screen
Maybe the probleme is already solved but it's will be good to share the solution.
I hade the same problem and I found the solution here :
https://askubuntu.com/questions/779595/ubuntu-16-04-lts-black-screen-after-login
and here :
https://seravo.fi/2015/fixing-black-screen-after-login-in-ubuntu-14-04
sudo dpkg --configure -a
sudo apt-get update
sudo apt-get upgrade -y
sudo reboot
had a nearly identical problem a few months ago. Switching into a console from the LightDM login screen (Ctrl-Alt-F1), logging in with administrative username and password, and entering the following commands resolved the issue:
sudo mv ~/.Xauthority ~/.Xauthority.backup
sudo service lightdm restart
Ctrl+Alt+F7 is for graphic login mode.
First login with the command line and run "sudo apt-get update" also for that you required internet connectivity. after that reboot system and go with recovery mode for repairing broken dpkg packages.
also find this link for exact solution: https://ubuntuforums.org/showthread.php?t=2363945

Accidentally deleted a2ensite [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I accidentally deleted /usr/sbin/a2ensite. Any way I can restore it? Tried sudo apt-get install a2ensite but I got the error message:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package a2ensite
Tried sudo apt-get install apache2 and sudo aptitude update but no luck there either. Any ideas? Using ubuntu.
Cheers,
agsb
Try:
sudo apt-get install --reinstall apache2 apache2-common
a2ensite as a script is contained in the apache2.2-common package. You can download it here and extract the file from the contained data archive yourself.
Edit: The Ubuntu packages can be found here.

How to download source code with Pacman on Arch Linux? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I am using Arch Linux. I want to do the same thing like apt-get source coreutils; is it possible to download sources with Pacman? I didn't find a solution in the man pages.
How can I get the source code of a package?
pacman -S asp
say if you want the source code of the Linux command find
find out which package the command find belongs to:
pacman -Qo $(which find). The result is
"/usr/bin/find is owned by findutils 4.4.2-3".
asp export findutils
cd findutils
makepkg -o
Now you have your source code.
2018 Update:
The abs tool described below has been deprecated and it along with its rsync endpoint have been dropped since mid 2017.
The asp tool now provides similar functionality. More information here.
As already mentioned you can use the ABS (Arch Build System):
Install it using pacman:
sudo pacman -S base-devel abs
First, download the ABS tree:
sudo abs
Then, get a specific package:
sudo abs [package_name]
Then copy the package, whose source you want to have, from the local abs tree (e.g. /var/abs/core/findutils) to another directory, e.g. /home/blabla/abs
Then run makepkg:
if you only want to get the sources and don't want to build the package you can run makepkg -od
otherwise run makepkg -s, which will then handle all the package's dependencies automatically
watch out becaouse makepkg will overwrite your modifications, use makepkg -e to build your local sources instead
If you want to install the package you've built, run
pacman -U name-of-package.xz
Edit: This answer is outdated due to changes on ABS.
You get the package sources from the Arch Linux SVN repository, called ABS.
First find the package online:
http://www.archlinux.org/packages/?q=coreutils
Then, on the package details page, on the right side use the SVN links, e.g.:
http://repos.archlinux.org/wsvn/packages/coreutils/trunk/
And there, you have a sweet "Download" button, in this case it leads to:
http://repos.archlinux.org/wsvn/packages/coreutils/trunk/?op=dl&isdir=1
It is a little bit more complicated than apt-get source. But perhaps you find a tool on AUR that does the job for you, for example yaourt supports building from sources and exporting them.