{"id":13612128,"url":"https://github.com/marco-gallegos/after-install","last_synced_at":"2026-02-23T01:32:39.660Z","repository":{"id":37631037,"uuid":"82454078","full_name":"marco-gallegos/after-install","owner":"marco-gallegos","description":"shell scripts para operaciones comunes despues de instalar distros linux","archived":false,"fork":false,"pushed_at":"2025-04-10T22:21:37.000Z","size":628,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-18T14:53:18.088Z","etag":null,"topics":["after-install","bash","fedora","linux","manjaro","script"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marco-gallegos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-02-19T11:26:08.000Z","updated_at":"2025-04-10T22:21:40.000Z","dependencies_parsed_at":"2024-01-16T23:26:49.699Z","dependency_job_id":"cde11c18-5e75-40e0-9dc2-35c996f7819d","html_url":"https://github.com/marco-gallegos/after-install","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/marco-gallegos/after-install","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marco-gallegos%2Fafter-install","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marco-gallegos%2Fafter-install/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marco-gallegos%2Fafter-install/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marco-gallegos%2Fafter-install/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marco-gallegos","download_url":"https://codeload.github.com/marco-gallegos/after-install/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marco-gallegos%2Fafter-install/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29734468,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-22T20:09:16.275Z","status":"ssl_error","status_checked_at":"2026-02-22T20:09:13.750Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["after-install","bash","fedora","linux","manjaro","script"],"created_at":"2024-08-01T20:00:22.953Z","updated_at":"2026-02-23T01:32:39.628Z","avatar_url":"https://github.com/marco-gallegos.png","language":"Shell","funding_links":[],"categories":["HarmonyOS"],"sub_categories":["Windows Manager"],"readme":"# After Innstall\r\n\r\nScripts para montar de nuevo mi ambiente de trabajo instalando el software comun y configuracion\r\n\r\n\r\n## To Do\r\n\r\n- [ ] git config --global alias.lg \"log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)\u003c%an\u003e%Creset' --abbrev-commit\"\r\n\r\n\r\n###### Soporte para : \r\n\r\n* manjaro / arch linux\r\n* fedora\r\n* raspbian\r\n* debian\r\n* mac\r\n\r\n##### algunas herramientas y cli\r\n\r\n* [the fuck](https://github.com/nvbn/thefuck)\r\n* neovim\r\n  * vim plug\r\n* [docker pretty ps](https://github.com/politeauthority/docker-pretty-ps)\r\n* [commitcli](https://link)\r\n* [gibo](https://github.com/simonwhitaker/gibo)\r\n* [npmcheckupdates](https://github.com/raineorshine/npm-check-updates) npm install -g npm-check-updates\r\n* brew install planetscale/tap/pscale\r\n* \r\n\r\n## dotfiles\r\n\r\n### agregar\r\nmkdir \"modulo\"\r\nmkdir -r \"ruta completa\"\r\ntouch \"modulo\"/\"ruta completa\"/\"archivo\"\r\nstow --adopt -vt \"directorioraiz\" \"modulo\"\r\n\r\nejemplo:\r\n\r\nstow --adopt -vnt ~ bash\r\n\r\n### desvincular\r\n\r\nesto no recrea el archivo solo elimina el enlace dejandote sin archivo.\r\n\r\nstow -Dv -t \"directorioraiz\" \"modulo\"\r\n\r\nejemplo:\r\n\r\nstow -Dv -t ~ bash\r\n\r\n## recursos\r\n\r\n7z a -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on $directorio_destino/http.7z origen\r\n\r\n\r\n## react native install (no gui required on linux also works on mac)\r\n\r\n### note\r\n\r\nthe adb configuration is also useful on flutter\r\n\r\n\r\n### android studio or cmdline-tools (prefered)\r\n\r\ninstall android studio better use snap store and thst it android studio handles everything you need (but needs a ui).\r\n\r\nOr download cmdline tools from android studio alternative download, just scroll down (zip file) this doesnt requires ui, ex: you can use ssh\r\n\r\nthen add all this paths to allow anyone find sdk files downloaded\r\n\r\n```shell\r\nexport ANDROID_HOME=$HOME/Android/Sdk\r\nexport PATH=$PATH:$ANDROID_HOME/emulator\r\nexport PATH=$PATH:$ANDROID_HOME/tools\r\nexport PATH=$PATH:$ANDROID_HOME/tools/bin\r\nexport PATH=$PATH:$ANDROID_HOME/platform-tools\r\n# zip from android studio page as alternative download\r\nexport PATH=$PATH:$ANDROID_HOME/cmdline-tools\r\nexport PATH=$PATH:$ANDROID_HOME/cmdline-tools/latest/bin\r\n```\r\n\r\n#### copy unziped download\r\n\r\n```bash\r\n# dont forget enable envs\r\nsource ~/.bashrc\r\n\r\n# create folders\r\nmkdir -p $ANDROID_HOME/cmdline-tools/\r\n\r\n# moving downloaded unziped file\r\nmv cmdline-tools $ANDROID_HOME/cmdline-tools/latest\r\n```\r\n\r\n#### instalar watchman (optional)\r\n\r\n```shell\r\n# fedora\r\nsudo dnf copr enable eklitzke/watchman \r\n\r\n#ubuntu\r\nsudo apt install watchman\r\n```\r\n\r\n#### some optional steps\r\n\r\n```shell\r\nnvim /etc/profile -\u003e export PATH=$PATH:/var/lib/snapd/snap/bin\r\n```\r\n\r\n\r\n#### Connectiing cellphone using usb\r\n\r\nnow you only need conect phone and install platform tools\r\n\r\n```shell\r\n# install java\r\nsudo apt install openjdk-21-jdk-headless\r\n\r\n# use unziped content to install platform tools\r\nsdkmanager --install platform-tools\r\n\r\n# if env vars are ok then you can use adb now (from platform tools)\r\nadb devices\r\n```\r\n\r\nif adb devices is not listing your device and permission is not requested on device, enable debug on phone and run this (tested on ubuntu not required after 2024)\r\n\r\n\r\n```shell\r\nsetup device -\u003e lsusb -\u003e 4 digits (ID) from device on usb mode\r\n\r\n\r\n# add rule:\r\necho 'SUBSYSTEM==\"usb\", ATTR{idVendor}==\"{ID}\", MODE=\"0666\", GROUP=\"plugdev\"' | sudo tee /etc/udev/rules.d/51-android-usb.rules\r\n\r\n# ej:\r\n# echo 'SUBSYSTEM==\"usb\", ATTR{idVendor}==\"2e04\", MODE=\"0666\", GROUP=\"plugdev\"' | sudo tee /# etc/udev/rules.d/51-android-usb.rules\r\n\r\n## try again\r\nadb devices -\u003e list devices\r\n```\r\n\r\n### continue RN official docs\r\n\r\ni prefer to avoid expo so read [this](https://reactnative.dev/docs/getting-started-without-a-framework)\r\n\r\n```shell\r\nnpx @react-native-community/cli@latest init AwesomeProject\r\n\r\ncd AwesomeProject\r\n\r\nnpm start\r\n\r\nnpm run android\r\n```\r\n\r\n## netcore en fedora 32\r\n\r\nsudo dnf install aspnetcore-runtime-3.1-3.1.1 dotnet-sdk-3.1\r\n\r\ngo get github.com/nishanths/license\r\n\r\n\r\n\r\n## gp firmar commits\r\n\r\ngpg --list-keys\r\n\r\ngpg --full-generate-key\r\n\r\ngit config --global user.signingkey \u003cidkey\u003e\r\n\r\ngit config --global user.signingkey -\u003e  si el valor esta vacio no hay configuracion\r\n\r\ncomo ver la signature en mi formato de log / mi git lg\r\n\r\n\r\n\r\nsudo apt-get install netselect-apt\r\n\r\nsudo netselect-apt\r\n\r\ngenera un source list que se copia a\r\n\r\n\r\n## raspbian mongo\r\n\r\nwget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add -\r\n\r\necho \"deb http://repo.mongodb.org/apt/debian buster/mongodb-org/4.4 main\" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.4.list\r\n\r\nsudo apt update\r\n\r\n\r\nsudo apt install -y mongodb-org=4.2 mongodb-org-server=4.2 mongodb-org-shell=4.2 mongodb-org-mongos=4.2 mongodb-org-tools=4.2\r\n\r\nno corre por falta de libc6 mas nueva usar docker\r\nhttps://www.bmc.com/blogs/mongodb-docker-container/\r\n\r\nsudo apt install r-base-core r-base\r\n\r\n\r\n## mongo fedora\r\n\r\nsudo echo \"[mongodb-org-4.4]\r\nname=MongoDB Repository\r\nbaseurl=https://repo.mongodb.org/yum/redhat/8/mongodb-org/4.4/x86_64/\r\ngpgcheck=1\r\nenabled=1\r\n\r\ngpgkey=https://www.mongodb.org/static/pgp/server-4.4.asc\" \u003e /etc/yum.repos.d/mongodb-org-4.4.repo\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarco-gallegos%2Fafter-install","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarco-gallegos%2Fafter-install","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarco-gallegos%2Fafter-install/lists"}