install zypper
sudo apt install zypper
preapere disk
sudo mkfs.btrfs /dev/nvme0n1p5 -f
sudo mount /dev/nvme0n1p5 /mnt/ -o compress=zstd
install base OSS
sudo zypper --root /mnt/ ar --refresh https://download.opensuse.org/tumbleweed/repo/oss/ oss
sudo zypper --root /mnt/ in zypper bash shadow util-linux
New repository or package signing key received:
Do you want to reject the key, trust temporarily, or trust always? [r/t/a/?] (r): a
Retrieving repository 'oss' metadata
The following 20 recommended packages were automatically selected:
augeas-lenses ca-certificates-mozilla crypto-policies-scripts dbus-1-daemon dirmngr
glibc-extra libldap-data login_defs logrotate lsof ncurses-utils pam-manpages publicsuffix
python311 python311-curses python311-dbm sound-theme-freedesktop terminfo-screen timezone
zypper-log
The following 176 NEW packages are going to be installed:
alts augeas-lenses bash bash-sh boost-license1_82_0 busybox busybox-coreutils busybox-gawk
busybox-grep busybox-xz ca-certificates ca-certificates-mozilla chkstat
compat-usrmerge-tools crypto-policies crypto-policies-scripts dbus-1 dbus-1-common
dbus-1-daemon dbus-1-tools dconf diffutils dirmngr file-magic filesystem fillup findutils
gio-branding-openSUSE glib-networking glib2-tools glibc glibc-extra gpg2
gsettings-backend-dconf gsettings-desktop-schemas krb5 libabsl2308_0_0 libacl1
libalternatives1 libassuan0 libattr1 libaudit1 libaugeas0 libblkid1 libboost_thread1_82_0
libboost_thread1_82_0-x86-64-v3 libbrotlicommon1 libbrotlicommon1-x86-64-v3 libbrotlidec1
libbrotlidec1-x86-64-v3 libbz2-1 libbz2-1-x86-64-v3 libcap-ng0 libcap2 libcom_err2 libcrypt1
libcurl4 libdbus-1-3 libdconf1 libduktape207 libeconf0 libelf1 libexpat1 libfa1 libfdisk1
libffi8 libgcc_s1 libgcrypt20 libgcrypt20-x86-64-v3 libgdbm6 libgdbm_compat4 libgio-2_0-0
libglib-2_0-0 libgmodule-2_0-0 libgmp10 libgnutls30 libgobject-2_0-0 libgpg-error0
libgpgme11 libhogweed6 libhogweed6-x86-64-v3 libidn2-0 libjitterentropy3 libkeyutils1
libksba8 libldap-data libldap2 liblua5_4-5 liblz4-1 liblz4-1-x86-64-v3 liblzma5
liblzma5-x86-64-v3 libmagic1 libmount1 libmpdec3 libncurses6 libnettle8 libnettle8-x86-64-v3
libnghttp2-14 libnpth0 libopenssl3 libopenssl3-x86-64-v3 libp11-kit0 libpcre2-8-0 libpopt0
libproc2-0 libprotobuf-lite23_4_0 libproxy1 libpsl5 libpxbackend-1_0 libpython3_11-1_0
libpython3_11-1_0-x86-64-v3 libreadline8 libsasl2-3 libselinux1 libsemanage-conf
libsemanage2 libsepol2 libsigc-2_0-0 libsmartcols1 libsolv-tools libsqlite3-0
libsqlite3-0-x86-64-v3 libssh-config libssh4 libstdc++6 libsubid4 libsystemd0 libtasn1-6
libudev1 libunistring5 libusb-1_0-0 libuuid1 libverto1 libxml2-2 libyaml-cpp0_8
libz-ng-compat1 libzck1 libzstd1 libzstd1-x86-64-v3 libzypp login_defs logrotate lsof
ncurses-utils p11-kit p11-kit-tools pam pam-manpages patterns-glibc-hwcaps-x86_64_v3
permissions permissions-config pinentry procps4 publicsuffix python311 python311-base
python311-base-x86-64-v3 python311-curses python311-dbm python311-x86-64-v3 rpm
rpm-config-SUSE shadow shared-mime-info shared-python-startup sound-theme-freedesktop
system-user-root sysuser-shadow terminfo-base terminfo-screen timezone util-linux zypper
zypper-log zypper-needs-restarting
176 new packages to install.
Overall download size: 59.3 MiB. Already cached: 0 B. After the operation, additional 195.7
MiB will be used.
Continue? [y/n/v/...? shows all options] (y):
sudo zypper --root /mnt/ in --no-recommends zypper bash shadow util-linux
Loading repository data...
Reading installed packages...
Resolving package dependencies...
The following 118 NEW packages are going to be installed:
alts bash bash-sh boost-license1_82_0 busybox busybox-coreutils chkstat compat-usrmerge-tools crypto-policies dbus-1 dbus-1-common dbus-1-daemon dbus-1-tools diffutils file-magic
filesystem fillup findutils gio-branding-openSUSE glib2-tools glibc gpg2 krb5 libabsl2308_0_0 libacl1 libalternatives1 libassuan0 libattr1 libaudit1 libaugeas0 libblkid1
libboost_thread1_82_0 libbrotlicommon1 libbrotlidec1 libbz2-1 libcap-ng0 libcap2 libcom_err2 libcrypt1 libcurl4 libdbus-1-3 libduktape207 libeconf0 libelf1 libexpat1 libfa1 libfdisk1
libffi8 libgcc_s1 libgcrypt20 libgio-2_0-0 libglib-2_0-0 libgmodule-2_0-0 libgobject-2_0-0 libgpg-error0 libgpgme11 libidn2-0 libkeyutils1 libksba8 libldap2 liblua5_4-5 liblz4-1 liblzma5
libmagic1 libmount1 libncurses6 libnghttp2-14 libnpth0 libopenssl3 libpcre2-8-0 libpopt0 libproc2-0 libprotobuf-lite23_4_0 libproxy1 libpsl5 libpxbackend-1_0 libreadline8 libsasl2-3
libselinux1 libsemanage-conf libsemanage2 libsepol2 libsigc-2_0-0 libsmartcols1 libsolv-tools libsqlite3-0 libssh-config libssh4 libstdc++6 libsubid4 libsystemd0 libudev1 libunistring5
libusb-1_0-0 libuuid1 libverto1 libxml2-2 libyaml-cpp0_8 libz-ng-compat1 libzck1 libzstd1 libzypp login_defs pam patterns-glibc-hwcaps-x86_64_v3 permissions permissions-config pinentry
procps4 rpm rpm-config-SUSE shadow shared-mime-info system-user-root sysuser-shadow terminfo-base util-linux zypper
118 new packages to install.
Overall download size: 33.1 MiB. Already cached: 0 B. After the operation, additional 110.0 MiB will be used.
Continue? [y/n/v/...? shows all options] (y): y
to avoid cetrificate error
sudo zypper --root /mnt/ in --no-recommends ca-certificates-mozilla
sudo zypper --root /mnt/ in --no-recommends neofetch
zypper in --no-recommends
chroot into opensuse
cat chroot.sh
#!/bin/sh
mount --rbind /dev /mnt/dev && mount --make-rslave /mnt/dev
mount --rbind /dev/pts /mnt/dev/pts && mount --make-rslave /mnt/dev/pts
mount --rbind /proc /mnt/proc && mount --make-rslave /mnt/proc
mount --rbind /sys /mnt/sys && mount --make-rslave /mnt/sys
chroot /mnt /bin/sh
sudo bash chroot.sh
cat chroot.sh
#!/bin/sh
mnt=/home/xkailashxx/alp
mount --rbind /dev /dev && mount --make-rslave $mnt/dev
mount --rbind /dev/pts $mnt/dev/pts && mount --make-rslave $mnt/dev/pts
mount --rbind /proc $mnt/proc && mount --make-rslave $mnt/proc
mount --rbind /sys $mnt/sys && mount --make-rslave $mnt/sys
chroot $mnt /bin/sh
The --make-rslave operations are only needed for systemd.
source /etc/profile export PS1="(suse) ${PS1}"
configs
/etc/zypp/zypp.conf
solver.onlyRequires = true
zypper se -t pattern
zypper se minimal_base
zypper refresh or zypper ref
zypper dist-upgrade or zypper dup
grub2 vim man kernel-defaultsway
minimal_base
gnome_basic
basic_desktop
zypper in --no-recommends NetworkManager
zypper in --no-recommends patterns-base-minimal_base
zypper
repos, lr List all defined repositories.
addrepo, ar Add a new repository.
removerepo, rr Remove specified repository.
renamerepo, nr Rename specified repository.
modifyrepo, mr Modify specified repository.
refresh, ref Refresh all repositories.
clean, cc Clean local caches.
search package in
https://software.opensuse.org/
zypper in ucode-intel kernel-firmware-i915 openresolv iwd kernel-firmware-ath10k binutils kernel-default-base
nano /etc/dracut.conf
uefi=yes
hostonly=yes
compress="zstd"
hostonly_cmdline=no
kernel_cmdline=
ls /lib/modules
6.5.8-1-default
dracut -fv --kver 6.5.8-1-default
Codecs
https://en.opensuse.org/Restricted_formats
MPEG-2
MP3(expired):
gstreamer-plugins-ugly,ffmpeg
NTFS: ntfs-3g
tumbleweed
zypper addrepo -cfp 90 'https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/' packman
leap
zypper addrepo -cfp 90 'https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_$releasever/' packman
http://packman.links2linux.org/
zypper refresh
zypper dist-upgrade --from packman --allow-vendor-change
zypper install --from packman ffmpeg
gstreamer-plugins-{good,bad,ugly,libav} libavcodec vlc-codecs
https://en.opensuse.org/Additional_package_repositories#Packman
zypper ar -cfp 90 'https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/Essentials/' packman-essentials
sudo zypper ar -cfp 90 'https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Leap_$releasever/Essentials' packman-essentials
https://pmbs.links2linux.de/project/show/Essentials
https://pmbs.links2linux.de/project/show/Multimedia
zypper dup --from packman-essentials --allow-vendor-change
support
https://web.libera.chat/
https://en.opensuse.org/openSUSE:Expert_Installation
https://status.opensuse.org/
https://etherpad.opensuse.org/
https://paste.opensuse.org/
Comments
Post a Comment